Re: Applescript to ObjC program communications?

2012-06-18 Thread Shane Stanley
On 19/06/2012, at 10:03 AM, William Squires wrote: > What's the best way for an applescript to send the info to my ObjC program > (for 10.6 or later)? Make your application scriptable. If it's a one-off thing, methods in an application category exposed as an application property is the easiest

Applescript to ObjC program communications?

2012-06-18 Thread William Squires
Okay, here's what I'd like to do: 1) Have a Mail.app rule fire an applescript when an email triggers the rule. 2) Grab the "subject:" line and the "to:" line from the email, and send that to another program which I'll write What's the best way for an applescript to send the info to my ObjC p