Hmm looks like Autohotkey might have some of this functionality from the web page, but is there a way I can get it to recognise these DPI adjustment buttons as vaild inputs?

http://www.autohotkey.com/docs/Hotkeys.htm