I want to have my LiveCode application receive an AppleScript command with
parameters from another application and then have my program execute the
command.
I can send an AppleScript to another program with LiveCode but I don’t see any
examples of how to receive them.
Bill Vlahos
I haven't done it, but I think what you're looking for is appleevent.
Theres a little code in the dictionary for that entry that might help.
On Sat, Jan 3, 2015 at 7:42 PM, Bill Vlahos bvla...@mac.com wrote:
I want to have my LiveCode application receive an AppleScript command with
parameters
Hi Bill,
I have no idea if it works on later Mac OS versions, but there are these
in the Dictionary:
sending:
'send to program' command
receiving:
'appleEvent' message
'request appleEvent' command
Happy New Year -
Phil Davis
On 1/3/15 6:42 PM, Bill Vlahos wrote:
I want to have my
On 1/3/2015 8:42 PM, Bill Vlahos wrote:
I can send an AppleScript to another program with LiveCode but I
don’t see any examples of how to receive them.
There's an example in the docs under the appleEvent entry:
on appleEvent theClass,theID
if theClass is misc and theID is dosc then