|
|
Choose startup disk via AppleScript
iMac Core Duo (Early 2006):
-If I'm booting in Windows by default and I want to change the boot drive to Mac OS X, the script works fine.
Choose startup disk via AppleScript
How do you run an AppleScript if you are booted into Windows???
Choose startup disk via AppleScript
I'll explain what I did, what worked and what didn't.
Choose startup disk via AppleScript
Hi Swordfish,
You need to add the -legacy option, I use the following to reboot into windows:
do shell script "bless -mount /Volumes/yourWindowsVolume/ -legacy -setBoot -nextonly" password "yourPassword" with administrator privilegesJust replace 'yourWindowsVolume' with your Bootcamp partition and 'yourPassword' with your admin password. NOTE: Having your admin password in plain text like this creates security issues for publicly accessible machines. If this is a concern you can lock down access to the script or simply remove 'password "yourPassword"' and the script will prompt people for the password.
Choose startup disk via AppleScript
You are awesome! Many thanks, works like a charm! :) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.18 seconds |
|