• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting "Startup Disk" revisited
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting "Startup Disk" revisited


  • Subject: Re: Scripting "Startup Disk" revisited
  • From: David Glass <email@hidden>
  • Date: Sat, 16 Nov 2002 16:16:48 -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.

References: 
 >Re: Scripting "Startup Disk" revisited (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: Is Mail scriptable ??
  • Next by Date: Re: Scripting "Startup Disk" revisited
  • Previous by thread: Re: Scripting "Startup Disk" revisited
  • Next by thread: Re: Scripting "Startup Disk" revisited
  • Index(es):
    • Date
    • Thread