AutoHotkey

http://www.autohotkey.com

see also: Autohotkey macros