Page 1 of 1

Transferring variables between AppleScript and LiveCode

Posted: Wed Jun 10, 2026 8:13 am
by sipsuper
Hello, everyone.

may anyone explain how I may pass a variable from Applescript to Livecode? The execution context is Applescript (e., I am not running Applescript from within Livecode).

The example I'm attempting to get working is providing a value from a service menu applescript.

I believe this could be accomplished by sending an Appleevent and then interrogating the value of the Applescript (event handler) in Livecode, but I haven't found an example.

Thank you in advance for your ideas.