Check out the forums over at
www.Promixis.com . I think Girder may be the program you are looking for. You basically tell girder what to do when a particular "command" is received. Post your question in the girder forum and I bet they can help you out.