Edit Article



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.

Ad

Steps

  1. 1
    Get AutoHotKey. Just go to autohotkey.com.
    Ad
  2. Make an AutoHotKey Program Step 2.jpg
    2
    Make 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
  3. Make an AutoHotKey Program Step 3.jpg
    3
    To 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
  4. Make an AutoHotKey Program Step 4.jpg
    4
    To send keystrokes and mouse clicks, just use send.
    ^!s::
    Send Sincerely,John Smith
    return
  5. Make an AutoHotKey Program Step 5.jpg
    5
    Get input from the user with MsgBox.
    MsgBox, Text
  6. Make an AutoHotKey Program Step 6.jpg
    6
    There are many, many more controls, commands, and more.
    Ad


We could really use your help!

Can you tell us about
fashion?
Yes
No
fashion
how to mix different patterns
Can you tell us about
mango salsa?
Yes
No
mango salsa
how to make mango salsa
Can you tell us about
hand whistling?
Yes
No
hand whistling
how to hand whistle
Can you tell us about
eyebrows?
Yes
No
eyebrows
how to grow out eyebrows
Thanks for helping! Please tell us everything you know about
...
Tell us everything you know here. Remember, more detail is better.
Tips
Provide Details.
Please be as detailed as possible in your explanation. Don't worry about formatting! We'll take care of it. For example:
Don't say: Eat more fats.
Do say: Add fats with some nutritional value to the foods you already eat. Try olive oil, butter, avocado, and mayonnaise.

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.

Did this article help you?
Yes No

Become
an Author!

Write an Article