calling Livecode from other languages

Matt Maier blueback09 at gmail.com
Fri Feb 5 07:20:18 CET 2016


So there isn't any special standalone option to compile a *.livecode file
into a command line app like *.exe. I just compile a standalone for the
appropriate system, somehow get rid of the GUI, and tell it how to
read/write STDIN/STDOUT?

Is that as simple as compiling a script-only stack into a standalone, or
maybe setting the visible of the mainstack to false?

On Thu, Feb 4, 2016 at 9:09 PM, Monte Goulding <monte at appisle.net> wrote:

>
> > On 5 Feb 2016, at 4:02 PM, Matt Maier <blueback09 at gmail.com> wrote:
> >
> > Can I call Livecode from other languages?
> >
> > I found this, which if I'm following it is a proof of concept that you
> can
> > install livecode server, then tell it to turn on from the shell, then
> have
> > it run scripts and return the output. That doesn't seem like quite the
> same
> > thing, but maybe it's close enough?
> > https://livecode.com/a-livecode-shell/
> >
> > Is there a way to write a Python file (or whatever) that reaches out to
> > Livecode, uses its text processing, or maybe hands it a livecode script,
> > then returns the result to be used by the Python file?
>
> Yes you can write a command line app in LiveCode and read from STDIN and
> write to STDOUT then use whatever method there is in your other language to
> open a process with the -ui option.
>
> Cheers
>
> Monte
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list