Re: Display dialog to a remote machine via EPPC
Re: Display dialog to a remote machine via EPPC
- Subject: Re: Display dialog to a remote machine via EPPC
- From: John <email@hidden>
- Date: Tue, 17 Jul 2012 15:01:53 -0400
So if I have this saved as an application (remote_handler.app) on my local computer
on run
say
"run"
end run
on displayD(yourMessage)
display dialog yourMessage buttons
"Cancel"
end displayD
I would call the handler like this:
set myScript
to load
script file
"path:to:my:remote_handler.app:"
tell myScript
displayD(
"Hi")
--subroutine in the loaded script, in case you don't want the whole script to run.
end tellHow would I do this when then the remote_handler.app is saved on the remote computer?
On Tue, Jul 17, 2012 at 11:02 AM, Jon Pugh
<email@hidden> wrote:
The recommended technique is to install a proxy application on the other machine, typically an AppleScript applet, with a handler defined that does the display dialog call. Then you call that from the remote machine. This avoids the whole “call a remote scripting addition” security issue.
Jon
_______________________________________________
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