How to Make an AutoHotKey Program
AutoHotKey, a free and open (GNU) program, is a very high-level programming language, and will be a great start on programming for anyone. AutoHotKey can make GUI's for you, make calculations for you, and even make macros.
Steps
-
1Get AutoHotKey. Just go to autohotkey.com.Ad
-
2Make a new AutoHotKey Program. To do that, just make a file with the extension
.ahk
. To test the program, just click on the file, and AutoHotKey.exe will run the file as if it is an actual exe file. To compile, click on ahk2exe.exe go through the configurations, and click convert -
3To launch a new program or document, use the
run
command.Run Notepad
Run C:\My Documents\Address List.doc
Run C:\My Documents\My Shortcut.lnk
Run www.yahoo.com
Run mailto:[email protected]- You can also assign hotkeys to activate the run command. Just write the letter before the run (or any) command.
n::Run Notepad
c::Run calc.exe
n::
Run http://www.google.com
Run Notepad.exe
return
- You can also assign hotkeys to activate the run command. Just write the letter before the run (or any) command.
-
4To send keystrokes and mouse clicks, just use
send
.^!s::
Send Sincerely,John Smith
return -
5Get input from the user with MsgBox.
MsgBox, Text -
6There are many, many more controls, commands, and more.Ad
We could really use your help!
fashion?

mango salsa?

hand whistling?

eyebrows?

Tips
- Use the help file that comes with the package.
- Experiment with it, see what you get.
- There is a forum for reporting bugs, sharing code, and help.
Sources and Citations
Article Info
Categories: Programming
Thanks to all authors for creating a page that has been read 11,683 times.
About this wikiHow