Hello, I've been working on a project that would use an Arduino to control my entire home audio system automatically, depending on certain factors. I would like to communicate with iTunes via separate apps made with AppleScript. One app, for example would be "play.app", and would play the music. Others would be conditional, and might play music depending on whether something's already playing, or if iTunes is open, etc.
The thing is, I want the arduino to send a character, for example "p" or a value, such as 1, and I need some other program to receive these serial messages and open the corresponding application. Does anyone know of a program I can use to accomplish this? I would prefer something simple and easy to use, as I don't have much time to learn a complex language, and also something that could export the program so that I can make it run at startup.
Any help would be much appreciated! :)