or Connect
AppleInsider › Forums › Software › Mac Software › cocoa applications thru commandline
New Posts  All Forums:Forum Nav:

cocoa applications thru commandline

post #1 of 4
Thread Starter 
Is there any known ways to contol cocoa-applications thru the command-line?? (Without adding that functionality in the code.) That way I could make my computer do stuff by sending an SMS from my mobile.

/ perfection

[ 05-27-2002: Message edited by: perfection ]</p>
/// "You will go home and rethink your life" ///
Reply
/// "You will go home and rethink your life" ///
Reply
post #2 of 4
[quote]Originally posted by perfection:
<strong>Is there any known ways to contol cocoa-applications thru the command-line?? (Without adding that functionality in the code.) That way I could make my computer do stuff by sending an SMS from my mobile.

/ perfection

[ 05-27-2002: Message edited by: perfection ]</strong><hr></blockquote>

well, like any UNIX app, you could write a Cocoa app that accepts command line arguments versus through the UI. Each Cocoa app is written differently, some may not even have command line arguments. Depends on the app and how it is written and that is when you need to RTM or online doc to see.

Triggering cmd line from SMS is pretty interesting, though.

I am new to cocoa programming and many write Cocoa Doc-based applications given with App and Foundation Kits.
post #3 of 4
Thread Starter 
I found a very good solution to my problem... XMMS in XDarwin! Why didnĀ“t I think of that in the first place. Thanks for getting me on the right track!
/// "You will go home and rethink your life" ///
Reply
/// "You will go home and rethink your life" ///
Reply
post #4 of 4
Ha ha... You mean like xmms -n 0 -f ? You lazy bastard!
No, the bazaar cannot satisfy users. Neither can the cathedral. Nothing can satisfy users, because software is written to enable rather than satisfy, and because most users are mewling malcontents...
Reply
No, the bazaar cannot satisfy users. Neither can the cathedral. Nothing can satisfy users, because software is written to enable rather than satisfy, and because most users are mewling malcontents...
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Mac Software
AppleInsider › Forums › Software › Mac Software › cocoa applications thru commandline