デュアルブート システムで作業しており、次の AppleScript を使用して起動ボリュームを設定しました。
tell application "Finder" to if not (disk "SoundHD" exists) then do shell script "diskutil mount " & last word of (do shell script "diskutil list | grep 'Apple_HFS SoundHD'")
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
display notification "Next Boot: SoundHD" with title "Neustart"
El Capitan 以降、スクリプトが機能しなくなり、スクリプト エディターに次のエラー メッセージが表示されます。
tell application "Finder"
exists disk "SoundHD"
--> true
end tell
tell current application
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
--> error "Could not set boot device property: 0xe00002bc" number 3
Ergebnis:
error "Could not set boot device property: 0xe00002bc" number 3
bless コマンドに新しい変更はありますか?
助けてくれてありがとう。