Help: Set Startup Disk

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
end tell

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:


[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.