#space::Run www.autohotkey-tutorials.blogspot.comand 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:
- Save and close the file.
- Double-click the file to launch it. A new icon appears in the taskbar notification area.
- Hold down the Windows key and press the spacebar. A web page opens in the default browser.
- 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::Pausethis will just pause the script; if you press enter again, it will unpause.
No comments:
Post a Comment