How can I initiate scripts to run on my Mac from triggering events on my phone?
I use EventScripts in order to run AppleScript when certain events occur, and there is EventScripts Mobile wich is a free companion application to EventScripts that let you trigger scripts on your Mac from your iPhone, iPod Touch, or iPad. You can find a demo on the link provided.

I never used it, but as EvetScripts is very reliable and quite easy to use, i'm gessing that EventScripts Mobile will do the work ! Also, you can try it for free.

(Note that EventScripts Mobile only works over Bonjour, and so is not suitable for triggering scripts on Macs not on your Bonjour network).



Note: I am not affiliated with the developer of EventScripts, just a satisfied user of the product.