I'm trying to set up Autohotkey macros for some common tasks, and I want the hotkeys to mimic Visual Studio's "two-step shortcut" behaviour - i.e. pressing Ctrl-K will enable "macro mode"; within macro mode, pressing certain keys will run a macro and then disable 'macro mode', and any other key will just disable macro mode.
Example - wh...
I want my AltGr key to behave exactly like left Alt.
Usually, I do this kind of stuff with Autohotkey, but I'm open to different solutions.
I tried this:
LControl & RAlt::Alt
And Autohotkey displayed error about "Alt" not being recognized action.
Then I tried the following code:
LControl & RAlt::
Send {Alt down}
KeyWait LCtrl
...
I have the following Macro I want to call from within an AutoHotkey script in order to set certain dates in my MonthCal object to be bold.
http://msdn.microsoft.com/en-us/library/bb774722(VS.85).aspx
How would I go about that?
Note that it's possible the easiest way to do it is to write a simple VB script which uses the macro and cal...
I've tried my best and cannot figure out what happened here. It worked fine in Delphi 4. After upgrading to Delphi 2009, I don't know if this is the way it is supposed to work, or if it's a problem:
This is what my program's menu looks like in Design Mode under Delphi 2009:
Notice that every word in the Main Menu and the File submenu...
I want to automate several tasks (eg. simulate eclipse style ctrl-shift-r open dialog for other editors). The general pattern is: the user will press some key combination, my program will detect it and potentially pop up a dialog to get user input, and then run a corresponding command, typically by running an executable.
My target envir...
I'm looking for information [I hesitate to infer "Best Practices"] for Automating Applications. I'm specifically referring to replacing that which is predictably repeatable through traditional manual means [humans manipulating the GUI] with something that is scheduled by the User and performed "Automatically".
We use AutoIT internally ...
I am trying to extract the contents of cmd.exe IDE to a text file using autohotkey scripts ie one test.ahk and its written as shown below:
WinGetText, text, "C:\WINDOWS\system32\cmd.exe"
FileAppend, %text%, C:\ThreePartition\ACTUAL.txt
I am not able to extract the contents. Can anyone please suggest the correct way to do the extract...
I am interested in writing a script that can automatically operate a program in Windows XP. I figure that I can use something like AutoHotkey to do the clicking. The obstacle I am encountering is that I need the script to be able to interpret information from the GUI interface of the program. There are only a few possible things that ...
When reading either of these questions or the EmacsWiki article about mapping Caps Lock to Control in emacs in Windows, the best answers seem to involve the registry. My question is what a user can do when they can't modify the registry of the machine because they don't have admin rights. Is there a way to do the mapping from within emac...
I'm trying to write a few simple AutoHotkey scripts for moving windows around, and I'm having trouble getting the correct screen size values.
I'm trying to get the size of the usable area on the screen (generally the full screen resolution minus the taskbar, and maybe any other docked windows like the sidebar in Vista). Neither of the ...
Hi everyone,
I'd like to parse the grid in this dialog using AutoHotKey:
It's a modal dialog from a .Net application.. Using Reflector I've been able to find that the grid is a System.Windows.Forms.DataGridView.
I can easily parse the text cells using a hackish Send/Clipboard combination, but I need to tell apart the icons of the fir...
Programming is at the heart about automating tasks on a computer.
Presumably those tasks would normally be done manually by a human.
Humans use the computer through the keyboard, mouse, and interaction with the console or the window manager. But very few languages have built in functions that provide an interface to these basic computin...
Hi, I'm trying to do many text replacements. Some of the replacement triggering abbreviations are prefixes of other triggering abbreviations, like so:
:*:foo::the
:*:fooed::there
Currently, this produces:
foo = "the"
fooed = "theed"
"foo", being the prefix of "fooed", is firing too soon. This could easily be fixed by removing the "...
What is the best editor for Autohotkey with regards to syntax hightlighting, command completion (intellisense), testing etc.
I am doing a bit of Autohotkey programming, and being spoiled rotten by Visual Studio, I really miss these features - especially being new to the language/framework.
...
I don't use the right control key at all and I like to utilize it as a conveniently placed hotkey for some custom function which I can do easily with Autohotkey.
The problem is I also use sticky keys for convenience and if I hit right control then the new function bound by Autohotkey is activated, but the control key also goes into stic...
Early in my R life I discovered the pain of R and windows being on different pages when it came to the separator between directories and subdirectories. Eventhough I know about the problem, I am still pained by manually having to put a backslash in front of all my backslashes or replacing all of them with forward slashes.
I love copyin...
Winamp has a neat feature. Global keys. That way I can change the playing song even if Winamp GUI doesn't have focus.
I am looking for a similar solution to Firefox or Chrome.
I use Eclipse to code PHP.
It auto SSH's and saves to another machine (testing)
I could use something like XRefresh with a mapped virtual drive but I cant instal...
I'm having trouble creating a small AutoHotkey script to end all vsjitdebugger.exe processes on a test server. Here's the code I have:
Process, Exist, vsjitdebugger.exe
NewPID = %ErrorLevel%
if NewPID = 0
{
MsgBox Process doesnt exist
}
else
{
MsgBox Process exists
}
Process, WaitClose, vsjitdebugger.exe, 5
NewPID = %ErrorLeve...
I have a log that looks like this:
line 1
line 2
line 3
line 4
line 1
line 2
line 3
line 4
How can I use AHK to delete lines 1, 2, and 3, but skip the fourth, and then continue to loop?
Thanks!
...
I need to choose a windows automation program. Which one do you recommend? AutoIt, AutoHotkey, others?
I have read http://paperlined.org/apps/autohotkey/autoit_and_autohotkey.html , interesting history but without a clear recommendation. Searching on google leaves a winner (around 312k hits for AutoHotkey Windows vs 482k hits for AutoIt...