PDA

View Full Version : apple script to terminal to change boot disk


Ignignot
04-06-2002, 09:03 PM
Hello...
Unfortunately I have not completely weened myself off of OS9 (for one thing VPC still runs faster under 9) and I find myself having to reboot in OS9, a process which I find to be a pain.

As I have OSX and 9 on the same partition (factory install on the iBook) I cannot take advantage of Option booting to choose what start up disk so I decided to see if I could at least write an apple script to select a different system folder in system preferences and then reboot. As it turns out OSX system preferences app is not scriptable at all.

So I noticed that the terminal is scriptable and decided to see if anyone knows if it is possible (I suspect it is since command line is all-powerful) and how I would go about composing a script in terminal that would select a different system folder and then reboot.
Would be much obliged if anyone out there could help me out. My Unix skills are novice but growing slowly.
Thanks,

Ig

mervTormel
04-06-2002, 10:42 PM
here's a hint:

http://www.macosxhints.com/article.php?story=20020302215826526

zs
04-09-2002, 01:24 AM
And a link to a thread here in the forums:
here (http://forums.macosxhints.com/showthread.php?s=&threadid=1360&highlight=startup+disk+AppleScript)

It shows several implementations in AS.