Advise for making a GUI for command line program

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

  1. ZildjianKX macrumors 68000


    May 18, 2003
    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.

  2. bousozoku Moderator emeritus

    Jun 25, 2002
    Gone but not forgotten.
    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


    Apr 14, 2002
    bat country
    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


    May 18, 2003
    GUI wrapping, that's what its called! Thanks.

Share This Page