2/09/2011

Basic

Working with AutoHotkey is not hard. In this tutorial i will show you how to create an example script. First you need to Download and install AutoHotkey. Then open your text browser and type example:
#space::Run www.autohotkey-tutorials.blogspot.com
and save ensuring that it ends in .ahk. For example: Page.ahk
In the line above, the first character "#" stands for the Windows key; so #space means holding down the Windows key then pressing the spacebar to activate the hotkey. The :: means that the subsequent command should be executed whenever this hotkey is pressed, in this case to go to the Google web site. To try out this script, continue as follows:
  1. Save and close the file.
  2. Double-click the file to launch it. A new icon appears in the taskbar notification area.
  3. Hold down the Windows key and press the spacebar. A web page opens in the default browser.
  4. To exit or edit the script, right-click the green "H" icon in the taskbar notification area. Or just type at the end of script: 
Enter::Pause
this will just pause the script; if you press enter again, it will unpause.

No comments:

Post a Comment