• 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
Telling remote Finder to sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Telling remote Finder to sleep


  • Subject: Telling remote Finder to sleep
  • From: Steve Mills <email@hidden>
  • Date: Thu, 25 Jun 2009 08:07:03 -0500

I have a script that wakes a remote Mac via wakeonlan, does a backup, then tells it to sleep like so:

using terms from application "Finder"
set u to application "Finder" of machine "eppc://user:email@hidden "

tell u
sleep
end tell
end using terms from


This has worked up until a few days ago. The local machine is a new Mac Pro running 10.5.7 and the remote is a G5 running 10.4.11. Aside from some updates that might have been applied to various pieces of system software on the Mac Pro, the only thing that has changed is my router. The old one (a 4-port LinkSys) died, so I replaced with today's equivalent model.

To make sure it wasn't the router blocking that port or something like that, I tried targeting another Mac (a 1st generation Mac Pro also running 10.5.7) and it worked. The G5 still has the Remote AppleEvents sharing option turned on. If I put anything else inside the tell block, it returns "Finder got an error: Could not establish connection to host".

Any ideas?

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/


_______________________________________________ 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: Telling remote Finder to sleep
      • From: Deivy Petrescu <email@hidden>
  • Prev by Date: Re: DateBug With FileMaker Or Buggy What?
  • Next by Date: Re: list issues
  • Previous by thread: Re: DateBug With FileMaker Or Buggy What?
  • Next by thread: Re: Telling remote Finder to sleep
  • Index(es):
    • Date
    • Thread