Re: How can we execute remote AppleScript?
Re: How can we execute remote AppleScript?
- Subject: Re: How can we execute remote AppleScript?
- From: CYB <email@hidden>
- Date: Fri, 13 Nov 2009 11:05:57 -0600
- Thread-topic: How can we execute remote AppleScript?
Title: Re: How can we execute remote AppleScript?
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.
Luther
On my computer it works ok with your solution
I will try using a remote machine
Carlos Ysunza B.
_______________________________________________
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