Remote Applescript hanging (over wireless) - 'remote apple events'
security bug
Jim Witte
jswitte at bloomington.in.us
Fri Apr 6 00:34:01 PDT 2007
Anyone have an idea why this script doesn't work:
display dialog "Sleep?" buttons {"No", "Yes"} default button "Yes"
if (button returned of the result is "Yes") then
tell application "Finder"
sleep
end tell
end if
-- on wakeup
tell application "Finder" of machine "eppc://billw@ilamp.local"
beep
--run script "/Users/billw/Desktop/iTunes Sleep"
end tell
Script Editor on the local machine just gives me the SBOD..
Just found the error - "Remote Aple Events" wasn't on on the target
machine. In this case, it would be nice if the local script would
*tell you that* instead of just hanging.. I'll report the bug
tomorrow.. Now that I can run my iTunes alarm clock remotely, I'm
going to bed..
Jim
More information about the MacOSX-talk
mailing list