Advise for making a GUI for command line program

Discussion in 'General Mac Discussion' started by ZildjianKX, Nov 13, 2003.

  1. ZildjianKX macrumors 68000

    ZildjianKX

    Joined:
    May 18, 2003
    #1
    Hi. I was wondering if anyone can point me in the right direction for a guide or any other sources that I could use to make a GUI to interact with an existing command line program. The catch is the program is closed source, so the GUI would literally be feeding it commands.

    I'm pretty sure this can be done, since programs like DVD2one use mkisofs, which is a command line.

    Any advise would be greatly appreciated.

    Thanks.
     
  2. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    Andrew Stone wrote an article precisely for this kind of thing in MacTech magazine a year or so ago. You should check their archives.

    [EDIT]The issue was May 2002[/EDIT]
     
  3. FattyMembrane macrumors 6502a

    FattyMembrane

    Joined:
    Apr 14, 2002
    Location:
    bat country
    #3
    there's an example of how to do this in apple's developer documentation. there's also a full code example on the dev site of how to make a gui wrapper for mpg123. applescript studio can make wrappers as well, if you don't feel like coding in cocoa, but the cocoa wrapper really isn't that hard to do if you follow the docs.
     
  4. ZildjianKX thread starter macrumors 68000

    ZildjianKX

    Joined:
    May 18, 2003
    #4
    GUI wrapping, that's what its called! Thanks.

    http://developer.apple.com/document...ix/unix_environments/chapter_7_section_7.html
     

Share This Page