Passing variables from Applescript to Livecode

Hi Applescript Devs,

Can anyone here shed some light on how I can pass a variable from an Applescript to Livecode. The execution context is Applescript (ie I am not calling Applescript from within Livecode).

The example I am trying to get working is passing a variable from a service menu applescript (I have a separate post with code example over on the livecode forum at forum dot livecode dot com - mac os subforum - latest post)

I think perhaps this could be achieved by sending an Appleevent and then interrogating the value from the Applescript (event handler) in Livecode, but I haven’t been able to find an example.

Thank you in advance for any thoughts.

~ Rodney

forums dot , . . .