I think there’s no apple-scripty way to do this is there? if there’s a shelly way to do it, please post the code here, like this:
tell shell
run “sudo blaa goo to set the startup disk” using password “foobar”
end tell
tell finder
restart
end tell
jonn8
August 6, 2004, 5:53am
#2
I don’t think it can be done in AppleScript alone but you can use the CLI “bless” command (you may have to use sudo with it as well). For more info, use the “-help” argument:
Jon
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code ]
Yes, the shell does have a command for this, but it is not easy to understand. In the terminal app type “man bless” for more info.
Check out this script in our ScriptBuilders section.
http://scriptbuilders.net/category.php?search=change+startup+disk