Opening an applet on a remote mac
Opening an applet on a remote mac
- Subject: Opening an applet on a remote mac
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 01 Jan 2016 23:15:30 +0000
- Thread-topic: Opening an applet on a remote mac
I’ve been trying to send apple events over IP. There’s an applescript applet on the desktop of the remote mac, and I want to activate it.
The problem is that this line: "set remoteHomeFolder to home as alias” returns the path to the local home folder (I can’t directly get the desktop folder either).
I know that this script is connecting to the remote system because finder activates and beeps twice.
I can’t get it to display a dialog either.
Any suggestions?
set remoteMachineAddress to "eppc://" & remoteUsername & ":" & remotePassword & "@" & remoteSubnetAddress
using terms from application "Finder"
tell application "Finder" of machine remoteMachineAddress
activate
beep 2
set remoteHomeFolder to home as alias
set remoteApp to item ":Desktop:RemoteText" of remoteHomeFolder
open remoteApp
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