calling Livecode from other languages
monte at appisle.net
Fri Feb 5 22:02:33 CET 2016
That all sounds right. Another method is to do everything in the startup handler then quit at the end. Startup happens before the window is created.
Sent from my iPhone
> On 6 Feb 2016, at 7:23 AM, Matt Maier <blueback09 at gmail.com> wrote:
> Please correct me if any of the following is wrong.
> So in general we can run a standalone executable from the command line. It
> will fire up in whatever way it knows how. Normally that means the GUI will
> appear and the program will read/write visually. But if the code knows to
> listen on STDIN and respond on STDOUT (or more accurately redirect them?),
> then all visible elements can be hidden* and just the command line can be
> used to interact with the standalone.
> * One way is to pass -ui as confirmed by a couple discussions on using
> Livecode from the command line, but I can't find -ui in google searches.
> Another way is to set the visible of the stack to false. Another way is to
> set the location of the stack to somewhere off screen.
>> On Fri, Feb 5, 2016 at 9:32 AM, Mark Wieder <mwieder at ahsoftware.net> wrote:
>> On 02/04/2016 10:28 PM, Monte Goulding wrote:
>> The way to get rid of the GUI is use the -ui command line option.
>> Alternately, what I do is hide the stack in the startup handler. Or just
>> move it to an offscreen location. That way you don't have to deal with any
>> special command line options.
>> Mark Wieder
>> ahsoftware at gmail.com
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode