Page 1 of 1

LiveCode to build GUI for a command line tool

Posted: Fri Sep 30, 2016 4:42 pm
by lithium630
Can LiveCode be used to build a GUI for a Windows command line tool? I would like to make a simple GUI for ffmpeg for the commands I use frequently. I have tried other GUI's but none do exactly what I'm looking for. I was just wondering if LiveCode is an option for that. I haven't seen anything similar.

Re: LiveCode to build GUI for a command line tool

Posted: Fri Sep 30, 2016 5:28 pm
by FourthWorld
See the shell function in the Dictionary. For Windows, see also the hideConsoleWindows global property.

Re: LiveCode to build GUI for a command line tool

Posted: Sun Oct 02, 2016 11:24 pm
by lithium630
Thank you very much.

Re: LiveCode to build GUI for a command line tool

Posted: Tue Oct 04, 2016 3:16 pm
by MaxV

Re: LiveCode to build GUI for a command line tool

Posted: Tue Oct 04, 2016 5:00 pm
by FourthWorld
Here's a fun project using LiveCode (then called "MetaCard") to query /proc on Linux to make a GUI top:
http://www.linuxjournal.com/article/2110

Re: LiveCode to build GUI for a command line tool

Posted: Wed Oct 05, 2016 6:34 pm
by capellan
Now that Richard mentions Metacard, take a look at this stack
(published by Scott Raney) that shows some examples of
launching and calling an external process.

Use LC Project browser to visit the card with these handlers or
just click the right arrow until this card appears.

Almost 20 years later, this stack and most of these handlers
works fine in Livecode running on Linux. :D

https://dl.dropboxusercontent.com/u/383 ... s.livecode