Re: Scripting "Startup Disk" revisited
Re: Scripting "Startup Disk" revisited
- Subject: Re: Scripting "Startup Disk" revisited
- From: David Glass <email@hidden>
- Date: Sat, 16 Nov 2002 08:46:18 -0800
On 11/15/02 13:06, "Mr Tea" <email@hidden> wrote:
>
>
do shell script "/usr/sbin/bless -folder9 '/Volumes/[name of
>
partition]/System Folder' -setOF" password [your password] with
>
administrator privileges
>
>
>
...but in Jaguar you can do this:
>
>
tell application "System Events" to restart
>
>
Thanks. There was an incredible lag between my sending and the message
actually appearing (sent from the wrong e-mail), so in the meantime I was
able to get it working.
I was not able to use the command you show above. I had to do:
do shell script "sudo bless -folder '/System/Library/CoreServices' -folder9
'/System Folder (OS 9)' -use9" password strPassword with administrator
privileges
Also, I just told the Finder to restart; I think the Apple folks frown on
scripting System Events as it may not always be available.
--
David Glass
email@hidden
_______________________________________________
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.