Saturday, August 8, 2009

Macro Program to Automate Complex Tasks

I found what appears to be a very good Macro Program: AutoHotKey. (For Windows XP and Vista). You run the AutoHotKey.exe program in the background and the macros are text files with the extension .ahk which you run by double clicking them. The program runs silently in the background and the scripts are run by pressing the hotkey. The examples below are self-explanatory:

;comment - WindowsKey+Z
#z::Run www.google.com

;comment - CTR+ALT+N
^!n::
IfWinExist Untitled - Notepad
WinActivate
else
Run Notepad
return

It comes with an indexed help file that explains thousands of details such as WinMaximize, MouseMove, and the various Send commands for keystrokes. And there is an online forum with a lively following. Price: Free.

No comments:

Post a Comment