Re: Opening an applet on a remote mac
Re: Opening an applet on a remote mac
- Subject: Re: Opening an applet on a remote mac
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 01 Jan 2016 23:33:16 +0000
- Thread-topic: Opening an applet on a remote mac
OK, just removing the coercion to an alias fixed it, and the script now works.
So why wouldn’t that coerce to an alias on the remote machine?
Is it possible to use remote scripting additions on installed on the remote mac?
When I try to display a dialog on the remote mac I get this error:
Finder got an error: Handler does not allow remote events.
(The reason I’m using an app on the remote machine is that I couldn’t make sending a do shell script command work remotely.)
------
set remoteMachineAddress to "eppc://" & remoteUsername & ":" & remotePassword & "@" & remoteSubnetAddress
using terms from application "Finder"
tell application "Finder" of machine remoteMachineAddress
activate
beep 2
display dialog "?"
set remoteHomeFolder to home
set remoteApp to item ":Desktop:RemoteText" of remoteHomeFolder
tell remoteApp to open
end tell
end using terms from
_______________________________________________
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