Re: Script to reboot from X into 9 (avoiding data loss)
Re: Script to reboot from X into 9 (avoiding data loss)
- Subject: Re: Script to reboot from X into 9 (avoiding data loss)
- From: Mr Tea <email@hidden>
- Date: Sun, 10 Mar 2002 17:53:58 +0000
As a postscript to this thread, I feel I should spell out the danger of
using the 'do shell script' shutdown command to initiate a restart - at
least without taking additional precautions. A quick test revealed that
this method of restarting, posted by Phi Sanders earlier in this thread,
is somewhat brutal. It pulls the plug on apps that have open, unsaved
documents *without* offering the opportunity to save, and any running
applications are seemingly not given the chance to write updated
preference files (re the position & open/closed state of palettes, etc).
Scary.
Much safer to use the Finder's restart command, which offers all the
usual courtesies but, as John C Welch has pointed out, needs to be
wrapped in an 'ignoring application responses' block to enable it.
Mr Tea
--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.