• 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 System Preference in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Startup Disk System Preference in OS X


  • Subject: Re: Scripting Startup Disk System Preference in OS X
  • From: Michael Britt <email@hidden>
  • Date: Fri, 22 Mar 2002 14:37:06 -0800

I tried Mr. Tea's reboot script and I got the following error message:

--> ERROR(bless):Error while get directory ID of /Volumes/Hard
Drive/System\Folder\

ERROR(bless):No mount point for /Volumes/Hard Drive/System\Folder\

ERROR(bless):Can't determine mount point of '' and '/Volumes/Hard
Drive/System\Folder

My Disk name has a space in it. Is this a possible cause? Do I use a
special character in the terminal to denote a space?

>> I am wondering if there is anyway to script the startup disk
>> control panel in OS X the way you can in 9?
>
> Not directly, Allen, but you can achieve the same ends if you're prepared
> to get your hands a little dirty with UNIX.
>
> This script is for rebooting into OS 9 from X. In the first line (do
> shell...privileges) you need to replace DISKNAME with the name of the
> volume that contains the system folder your want to use, and XXXXXX with
> the password that you use when logging in. (If you want to boot into
> another installation of OS X, the line will be different - but as I have
> just the one X partition, I haven't needed to find out how to do that yet.)
>
> do shell script "/usr/sbin/bless -folder9 '/Volumes/DISKNAME/System
> Folder' -setOF" password "XXXXXX" with administrator privileges
>
> ignoring application responses
> tell application "Finder" to restart
> end ignoring

--
Michael Britt
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.

  • Follow-Ups:
    • Re: Scripting Startup Disk System Preference in OS X
      • From: garbanzito <email@hidden>
    • Re: Scripting Startup Disk System Preference in OS X
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: Setting the Invisible Flag
  • Next by Date: Re: unable to do batch operations
  • Previous by thread: Re: unable to do batch operations
  • Next by thread: Re: Scripting Startup Disk System Preference in OS X
  • Index(es):
    • Date
    • Thread