• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Opening an applet on a remote mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Opening an applet on a remote mac
      • From: Axel Luttgens <email@hidden>
References: 
 >Opening an applet on a remote mac (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Opening an applet on a remote mac
  • Next by Date: Re: [List Suggestion] Set the "Reply To" Header to the List
  • Previous by thread: Opening an applet on a remote mac
  • Next by thread: Re: Opening an applet on a remote mac
  • Index(es):
    • Date
    • Thread