calling Livecode from other languages

Monte Goulding monte at appisle.net
Fri Feb 5 06:09:21 CET 2016


> 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




More information about the use-livecode mailing list