Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ben Kei

macrumors regular
Original poster
Oct 30, 2002
204
1
London UK
Hello all,

I have a command line app that I use sometimes (or attempt to use might be closer to the truth)

I have little to no coding background but was wondering if there was a nice easy way to build a GUI for something that is functionally complete to begin with.

Any good (free) resources I should check or anyone who fancies the challenge? ;)

Thanks in advance,
Ben
 
It depends on the program, but in C or Objective-C there are commands Luke popen and NSTask that you could use to run the command line program and get its output. If the program is interactive (that is, you can't just run it with command line switches, but must enter input while it is running) you might need to generate input files and feed them to the command with < or pre-build or dynamically generate expect scripts.

Again, this is all going to depend on the program in question. You can use XCode to build an Ovjective-C program, or if it's simple enough you may be able to use Applescript for this. Post more details and we can point you in the right direction.

-Lee
 
Thanks for the reply.

It's an emulation of a time stretching algorithm from a late 80's sampler which gives a classic sound used in lots of early dance music.

There are some input variables for amount etc.. so it would need more control than just open and run.

Here's a link to the CLI app, there is a Windows version with a GUI so the screen shot should give an idea of what controls it has.

Main link: http://akaizer.blogspot.com

Mac version: http://akaizer.blogspot.com/search/label/Mac OS X

Thanks again!
Ben
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.