http/www.autohotkey.com/ for writting windows macros. Maybe useful.