Johnp, check out AutoHotKey for Windows (It's free).

https://www.autohotkey.com/

Yeah, I know this thread is 2 years old, but it's a great automation / macro program, works with almost all Windows software. Thought maybe you might still be looking for something.