Re: How can we execute remote AppleScript?
Re: How can we execute remote AppleScript?
- Subject: Re: How can we execute remote AppleScript?
- From: Luther Fuller <email@hidden>
- Date: Thu, 12 Nov 2009 12:53:58 -0600
On Nov 12, 2009, at 12:17 PM, Jim Skibbie wrote: I can’t get this to work as stated below even on the same machine, so I think I must be missing something:
Created an applet called “test_app”
on Add_Numbers(a, b, c)
set x to a + b + c
return x
end Add_Numbers
Created a separate script that tries to use the applet’s handler:
tell application "test_app"
set y to Add_Numbers(1, 2, 3)
end tell
Try this ...
launch application "test_app" tell application "test_app" to Add_Numbers(1, 2, 3) set y to the result
Let us know how it works. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden