Pretty cool
I have developed something that works the opposite way. it's called applescript proxy and it' s a small mac application that lets you map applescripts to caracters coming from an arduino board.. every time the app receives a certain caracter it runs the associated script. this allows all sort of automation of your mac from an arduino board.
here is a screenshot
if there is some interest I'll post the app in the next few days
massimo