Restarting Macs over TCP/IP
Restarting Macs over TCP/IP
- Subject: Restarting Macs over TCP/IP
- From: Joe Gardner <email@hidden>
- Date: Mon, 19 Mar 2001 16:28:40 +0900
Hello folks. I'm new here but will get right to the point. We're trying
to set up a script to remotely restart some of our long-distance Macs
via AS and TCP/IP. I've read the AppleScript GuideBook Module at
<
http://www.apple.com/applescript/help_modules/LNK0100.hqx>
and have tried to set up the simple "beep" script described there. But
after configuring both computers (G4s running OS9.1) as described in the
help module, when I run the sample script, all I get is a non-rotating
beachball cursor and have to force-quit the script editor to get back
control of the sending Mac. Here's the sample script from the module:
set remote_Finder to application "Finder" of machine "eppc://192.168.1.2"
using terms from application "Finder"
tell remote_Finder
beep
end tell
end using terms from
According to the docs, I should get a standard authentication dialog box
when this script runs. The IP address of the target Mac is correct (_not_
shown in the script above, sorry) and all the necessary settings on the
target Mac are also correct. If anyone here has successfully run TCP/IP
functions from AS or has any advice about how to proceed, I'm all ears.
Many thanks in advance for your time and trouble...
Joe Gardner
Information Services
Northwest Airlines, Inc.
Narita JAPAN