AutoHotkey is a free, open-source utility for Windows. With it, you can automate almost anything by sending keystrokes and mouse clicks, write a mouse or keyboard macro by hand or use the macro recorder, create hotkeys for keyboard, joystick, and mouse.

Program Home Page: http://www.autohotkey.com/
Download: http://www.autohotkey.net/~Lexikos/AutoHotkey_L/AutoHotkey_L_Install.exe
Windows