Re: Scripting "Startup Disk" revisited
Re: Scripting "Startup Disk" revisited
- Subject: Re: Scripting "Startup Disk" revisited
- From: Mr Tea <email@hidden>
- Date: Fri, 15 Nov 2002 21:06:05 +0000
This from David Glass - dated 15-11-02 8.07 am:
>
In OS X, restarting in OS 9: do a shell script with the "bless" command
>
>
I am curious if anybody (including the folks originally involved in the
>
thread) actually got it to work?
Yes. It works brilliantly. OS 9 is just the press of a hot key away when I
absolutely positively have to sync with AvantGo.
>
On my system, with OS X and OS 9 on the same partition, I wasn't able to
>
script a restart into 9.
My OS 9 standalone is on a different partition but I don't see why a
localised version of this script shouldn't work for you, unless this cannot
be done when both OSes are installed on the same partition.
do shell script "/usr/sbin/bless -folder9 '/Volumes/[name of
partition]/System Folder' -setOF" password [your password] with
administrator privileges
...all on one line. Replace the sections in square brackets with the
approprate information (and take out the square brackets).
Back in the bad old days of OS X 10.1.x you had to follow that up with this
sort of malarky:
ignoring application responses
tell application "Finder" to restart
end ignoring
...but in Jaguar you can do this:
tell application "System Events" to restart
HTH
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.