View Full Version : Advise for making a GUI for command line program
ZildjianKX
Nov 13, 2003, 08:54 PM
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.
bousozoku
Nov 13, 2003, 09:06 PM
Andrew Stone wrote an article precisely for this kind of thing in MacTech magazine a year or so ago. You should check their archives.
The issue was May 2002
FattyMembrane
Nov 13, 2003, 09:32 PM
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.
ZildjianKX
Nov 13, 2003, 09:51 PM
Originally posted by FattyMembrane
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.
GUI wrapping, that's what its called! Thanks.
http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/unix_environments/chapter_7_section_7.html
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.