I’m making an installation where under certain circumstances I want the computer to:
turn itself off and reboot
on reboot load a patch
Is applescript the best way and how do I achieve this?
Thanks a lot.
he’s also a tim.
You can use the [shell] and [aka.shell] externals too. The best way is to tell the computer to reboot using applescript and include your patch/app in the startup folder. Then you can use the System Preferences to determine what to run when you reboot.
There was a great little program called KeepItUp that did all you want and more–email alerts if your app crashes, automatic restarts of same, automatic shut-down/startup, logs… Unfortunately, when I tried their web site at < http://users.skynet.be/keepitup/> it 404′d, so I don’t know if it’s still available. I’d give it a Google if I were you, it may be around somewhere else.
If you’re about to do an installation, the following may be of some interest:
C74 RSS Feed | © Copyright Cycling '74