Mark Storkamp
9/8/2014 1:18:00 PM
In article <87d2bbtl25.fsf@bsb.me.uk>,
Ben Bacarisse <ben.usenet@bsb.me.uk> wrote:
> Mark Storkamp <mstorkamp@yahoo.com> writes:
>
> > I have a program written in C that gets run on both a Mac and a Windows
> > PC. I wrote it to use the command line so I could easily compile for
> > either environment.
> >
> > The program has a dozen or so command line switches, then runs
> > uninterrupted until it finishes its task.
> >
> > It could really use a GUI front end to select the options on the command
> > line before it runs. I could easily write that in Objective-C for the
> > Mac, but then that wouldn't run on the PC. I haven't programmed Windows
> > since 3.0 and I don't have the tools to it now anymore.
> >
> > Is there some (probably interpreted) language that can run the same code
> > on both Mac and PC, present the user with a dialog box for options,
> > build up a command line, and then execute the existing command line
> > program?
>
> I have found command-line driven dialog programs like zentity to be fine
> for simple cases. I've switched to "yad" for my own stuff because it
> does a bit more and it does it a bit better but I don't think it's
> available for Windows (zenity is).
Thanks, I looked into both of those and I don't think they would work
well for me. But while looking into those, I ran across Python and
Tkinter. Since it's already loaded on the Mac, and was easy to load on
the PC, now I just have to learn to use them. Lots of good tutorials to
play with too.
--
Mark