Transferring variables between AppleScript and LiveCode

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sipsuper
Posts: 1
Joined: Wed Jun 10, 2026 7:54 am
Contact:

Transferring variables between AppleScript and LiveCode

Post by sipsuper » Wed Jun 10, 2026 8:13 am

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.

Post Reply