I'd like to trigger an event in AutoHotkey when the user double "presses" the escape key. But let the escape keystroke go through to the app in focus if it's not a double press (say within the space of a second).
How would I go about doing this?
I've come up with this so far, but I can't work out how to check for the second escape key...
don't know if this is better suited here, or on SU - feel free to move to your liking
Is it possible to map a key alias in autohotkey (for example, < and > to F11 and F12), but in a way that the mapping is only active while working in ... Word ?
Not a real example of what I'm interested in, but we're talking only in principle here.
...
I have a problem with Autohotkey telling me there was a missing { in front of an else where I think my Code is perfectly fine (and worked until before I changed the window-related if's from Pidgin to qutIM)
^!p::
IfWinExist ahk_class QWidget, ,qutIM{ ;if there is a qutIM-window other than the buddy-list...
IfWinNotActive ahk_class...
I recently switched to the dvorak keyboard layout as a bit of an experiment. One of the most difficult parts of the transition has been dealing with hot-keys. Most hot-keys are designed with qwerty in mind and, to make matters worse, hot-keys seem to be extremely muscle memory bound.
Rather than relearn all the hot-keys, I've written a...
I have this AutoHotkey script that has a weird problem. It is used in 3 workstations, but in one the ControlSend doesn't seem to work as the hotkey doesn't work in program A. All three machines have Windows XP and are Pentium 4 level machines with mostly same software, the script is in exe form. I've tried a lot of different ways to send...
Is it any possibility to persist work of Hotstrings in Visual Studio 2008.
For instance, I want to get following results:
"ras" => replace to runat="server"
I use following script, which work in another application, except VS 2008.
::ras::runat="server"
...
Hi everyone,
I'm trying to make an autohotkey script so I can drag and drop movie files into autohotkey for it to put it into handbrake's queue to be converted into iphone format.
I just started with autohotkey and have no idea on how to record a macro like that. Can anyone point me the right way or maybe does anyone have a script like...
Hi,
I have a piece of closed-source third party windows software which consists of only one window and is minimized almost all the time. I'd like to be able to change the selected item of a combobox in that window via a system-wide hotkey. If possible, I'd like to keep the third party app minimized in the process.
I guess this should b...
I found SetFormat only works at the first time, like the following simplified script:
Var = 0.0
f1::
SetFormat, float,03
Var += 1
msgbox, %Var%
return
I only get 001 at the first time. After that, it only displays 2, 3, ... for each f1. Anything I missed?
Thanks
...
I'm running the below code and I expect the mouse to move to the center of the currently active window when I hit comma.....instead it is moving to different points on the screen, depending on where the window is on the screen. It only centers the mouse properly when the window is positioned at the top left (x=0, y=0).
#NoEnv
SendMode ...
i want to press F1 and then make autohotkey hold the mouse left button and when i press again he releases it
how can i do that?
...
Looking to do something like this:
if leftmousebutton not depressed
some other action
Does anybody know how I would go about coding that?
...
I use 3 computers regularly and a fourth one ocassionaly. I have used dorpbox to synchronize my .ahk script to all computers. However, the path names are different on the different computers. For instance at home there is C:\Users\Farrel\Documents\SyRRuP where as at work it is something such as C:\Users\fbuchins\Documents\SyRRuP and on a...
I am using autohotkey for test now but tired with modifying the "Sleep, 100" generated by autoscriptwriter. So I decided to get the source code and see if I can modify it a little bit to fit my needs but cannot find it anyway through google.
...
I am playing with a simple webserver in autohotkey: sparrow. It is immune to path traversal attacks. As long as I don't run any unsanitized code from the client side, is there any other basic attack to watch out for, like the path traversal attack ?
...
I'm not stupid... really.
How do you map a key SEQUENCE (ie: Ctrl-Q, F) in AutoHotKey.
I've got Ctrl-Q down:
^q::
I've even got F:
f::
The examples in the help files even show how to do two keystrokes in a row:
Numpad0 & Numpad1::
But it just will not work with:
^q & f ::
Or any of these either:
LCtrl & q & f::
^q & ^f::
^q...
I've written a couple of scripts with AutoHotkey, but I notice they only work when a user is logged in and the screen isn't locked.
I'd like to schedule the script to run. Does anyone know if that is possible with AutoHotkey, or if there is another program with similar functionality that can run a script when the screen is locked?
Tha...
I often work with multiple checkouts of the same solution, but as they all have the same name, all the taskbar buttons appear the same. I would like to rename the taskbar buttons so I can identify solutions more easily.
I have written an autohotkey script, which almost works, or if anyone can suggest something better, I'd like to hear ...
I am working through the AHK docs but am having a hard time finding a fairly simple way to find the path to a target file in a parent directory, given a starting directory.
For example:
Starting in C:\a\b\c\d\e\f\g\
I want to find the path of root.txt where:
C:\a\b\c\root.txt
I want to return C:\a\b\c\
[by the way I do not know wh...
i need to hide a windows program (not visible in taskbar, system tray. visible in taskmgr).
and send clicks and fill out forms on this windows program (while hidden).
possible with autoit or autohotkey ? any other suggestions ?
...