Android: There is no shortage of apps for Android that let you remotely control your PC. However, if you're a coder looking for more functionality, my Control could be the app that gives you want you need.
The app comes with a few built in scripts that go above the basic functions of your average remote control app, and you can also create your own. The sample scripts use VBS to issue remote commands, but the developer's site says it can field "any command that the operating system on the host can parse", including compiled AutoHotKey scripts.
The free version allows one custom script (including the provided samples) to be added, while the pro version for $1.50 permits an unlimited number. To get started creating your own custom scripts, check out the developer's site here. Outside of scripts, my Control is also a capable remote control app with voice control functions, special keys and a very intuitive keyboard/mouse interface.