With a little search, you’ll find a lot of script examples on the Internet but what most of them won’t tell you is how to create and use them.
Well… lets start with the basics then.
Once you have downloaded and installed AutoHotkey, just follow the given steps:
Open any folder and pull down the File Menu. Choose New -> AutoHotKey Script.
Type a name for the file, and make sure that the file extension is .ahk
Now, right click on this file and choose the option Edit Script. The file that will open now will already have some text †. To use any script, just add the script in a new blank line.
Save and Close the File.
That’s it. Simple, right??
Now to try out this script, all you need to do is double click on your .ahk file. You’ll now see a AutoHotKey icon in your system tray which means that your script has been launched.
You can test the script by using whatever hotkey you had specified in the script. To exit or edit the script again, right-click on the tray icon and choose the appropriate option.
† The text contained is generally information about your AutoHotKey software version, and some standard commands. You can remove this text completely or keep it. These commands are not required to run your script, but they do speed up your script a little.