Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'sending password via applescript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
sending password via applescript
Authored by: RickoKid on Oct 28, '02 09:01:01PM

I came up with this (considerably simpler) script to boot back to OS 9:

display dialog "Are you sure you want to restart in MacOS 9?"
do shell script "sudo /usr/sbin/bless -folder9 '/Volumes/OS 9/System Folder' -setOF"
ignoring application responses
tell application "Finder" to restart
end ignoring

Just change the path to your OS 9 disk (mine is on a different disk called "OS 9", if yours is on the same partition it will be '/System Folder'.

If it doesn't work try removing the 'ignoring application' parts (probably won't work on anything less than 10.2 without these).

Good Luck!



[ Reply to This | # ]