Re: Messaging Cocoa apps through Terminal

2010-03-04 Thread Jeffrey Oleander
On Wed, 2010/03/03, Matt Neuburg m...@tidbits.com wrote: From: Matt Neuburg m...@tidbits.com Subject: Re: Messaging Cocoa apps through Terminal To: Ulai Beekam ulaibee...@hotmail.com Cc: cocoa-dev@lists.apple.com Date: Wednesday, 2010 March 03, 13:02 On Wed, 2010 Mar 03 16:17:13 +

Messaging Cocoa apps through Terminal

2010-03-03 Thread Ulai Beekam
How can I send messages to my Cocoa app through the terminal? Say something like MyGreatMp3Player.app --sendAdvancedMessageThatIsNotInTheUI create100EmptyPlaylists I suppose it's hard to do this on the .app since it's just a directory, but you get the point. Just so the user (but mainly the

Re: Messaging Cocoa apps through Terminal

2010-03-03 Thread Ken Thomases
On Mar 3, 2010, at 10:17 AM, Ulai Beekam wrote: How can I send messages to my Cocoa app through the terminal? Say something like MyGreatMp3Player.app --sendAdvancedMessageThatIsNotInTheUI create100EmptyPlaylists I suppose it's hard to do this on the .app since it's just a directory, but

Re: Messaging Cocoa apps through Terminal

2010-03-03 Thread has
Ulai Beekam wrote: How can I send messages to my Cocoa app through the terminal? Say something like MyGreatMp3Player.app --sendAdvancedMessageThatIsNotInTheUI create100EmptyPlaylists I think the simplest way would be to write yourself a simple command line tool that uses Distributed

Re: Messaging Cocoa apps through Terminal

2010-03-03 Thread Matt Neuburg
On Wed, 3 Mar 2010 16:17:13 +, Ulai Beekam ulaibee...@hotmail.com said: get the point. Just so the user (but mainly the developer for testing purposes) can somehow make the app do things that cannot be done in the UI. This might be a reason to build some scriptability (AppleScript-type) into