How to Restart remote 10.3.9 computer with Applescript
How to Restart remote 10.3.9 computer with Applescript
- Subject: How to Restart remote 10.3.9 computer with Applescript
- From: "Ball, Dan" <email@hidden>
- Date: Wed, 22 Jun 2005 20:08:09 -0400
- Thread-topic: How to Restart remote 10.3.9 computer with Applescript
Hi Everyone,
We have a Mac Mini running a movie on a 42" LCD TV for presentations and student work and what not. The problem is sometimes the multimedia instructor who manages the Quicktime Streaming Server movies sometimes stops the stream and the client hangs.
I never messed with Remote Apple Events before so I turned that on and wrote a script to quit the Quicktim Player app and relaunch it and connect to the stream the server is hosting and then go fullscreen with it.
I also wanted to give him a script (which is saved as an Application and run only) that also restarts the machine. I can't for the life of me figure this out.
Here is what I put: (I also tried System Events instead of Finder)
tell application "Finder" of machine "eppc://username:email@hidden.2.1"
activate
restart
end tell
Why won't this work? If I run this with in the script editor it works fine but if I save it as an Application or run only application it doesn't work. Any ideas on why or how I could get this to work?
Thanks,
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden