apple script in max

    Feb 23 2011 | 6:35 pm
    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.

    • Feb 23 2011 | 6:36 pm
      he's also a tim.
    • Feb 24 2011 | 12:03 am
      You can use the [shell] and [] 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.
    • Feb 24 2011 | 4:30 pm
      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 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.
    • Feb 24 2011 | 8:05 pm
      If you're about to do an installation, the following may be of some interest: