First AutoHotkey Script
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.
Meghna
† 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.
Related posts:
Learning AutoHotKey - Simplifying The Idea of Hotkeys and HotStrings
For a first-time user, AutoHotkey can be an intimidating experience. While its benefits in saving...
How to work faster with PuTTY
The fact that we constantly have to type the same commands over and over again...
Launching AutoHotKey automatically
AutoHotKey is a really useful software, but I am sure at some point you have...
AutoText Script - Expanding abbreviations with AutoHotkey
This is the day and age of abbreviations, thanks to IMs and SMS. While academicians...
July 25th, 2008 at 11:14 am
Meghna,
Thanks for this valuable information.
I’ll surely save some time of mine now
Keep them coming!!