cocoa applications thru commandline

Posted:
in Mac Software edited January 2014
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>

Comments

  • Reply 1 of 3
    eat@meeat@me Posts: 321member
    [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.
  • Reply 2 of 3
    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!
  • Reply 3 of 3
    stimulistimuli Posts: 564member
    Ha ha... You mean like xmms -n 0 -f ? You lazy bastard!
Sign In or Register to comment.