AutoHotKey is one of the best Windows automation programs that can perform the simplest of actions to the hardest of tasks. AutoHotKey is a free and open-source program which uses its own scripting language to automate any of your daily Windows tasks. Moreover, please note that the lines starting with ; are comments. Google had the right idea when it turned the unloved and underused Caps Lock key into a dedicated search button that searched both your computer and Google.
12 Favorite AutoHotKey Scripts You Can Use to Make Life Easier
DONE: autohotkey - reload script on screen number change - arpb.info
Found some, but this is by far, in my opinion, the best solution yet. More after the break. Simple, easy, elegant. It started out to be just for providing keyboard shortcuts, but in time evolved into a full-fledged scripting language. It can do almost anything. Take a look at the documentation here if you are interested in creating your own macros.