From OSX to Windows Bootcamp

Soldato
Joined
12 Jun 2005
Posts
5,361
Is there a quick and easy way to have the computer restart and boot into my Windows Bootcamp partition?

Like on windows, to boot back into OSX, I simply right click the taskbar and click restart in OSX.....is there something like that for OSX? Maybe a dashboard widget or something like that?

(I'm aware you can select the startup disk in system preferences, but was hoping for something quicker)
 
There's Flipside however, the last time I tried it, it did not work on unibody MacBook Pros (confirmed by the developer of Flipside). The application may have been updated since so it's worth a try :)
 
Last edited:
Flipside wasn't really what I wanted. However I did manage to create a little application hack via automator to restart into bootcamp.
 
You have to select the disk that you want to boot each time. I want to press one button to automatically boot into Windows (in this case in my dock).
 
I have an Applescript that does this. I can send it to you if you'd like. You'll need to edit it to put in your disk names and your password.
 
I have an Applescript that does this. I can send it to you if you'd like. You'll need to edit it to put in your disk names and your password.

Slightly old thread but would you be able to send that to me please mate?

Always pressing restart with the intent of going into windows, look away for a few seconds then end up booting straight back into OSX :p
 
Does it show anything on the UI?

Thanks.

It shows the disk names, but not the passwords. The password is just inside the script. If you set the permissions to... uh... 711 I think... then only you would be able to read the script but all users on the machine would be able to execute it.

Slightly old thread but would you be able to send that to me please mate?

Always pressing restart with the intent of going into windows, look away for a few seconds then end up booting straight back into OSX :p

Tell you what, I'll post it on here tonight.
 
Create a script with the following code. You'll need to set the partition names in the second line and put your password in a couple of times in the last couple of lines. Save it in the scripts folder in your home area, then open the preferences in Applescript Editor and tick the box for "Show Script menu in menu bar". Then you just need to click the script menu and click the name of your script and you'll get a little box that pops up with the names of your disks. Click the relevant button to reboot into whichever OS you're after.

Code:
display dialog "Select a startup disk" buttons ¬
	{"[B]MAC_PARTITION_NAME[/B]", "[B]BOOTCAMP_PARTITION_NAME[/B]", "Cancel"}
set choice to the button returned of the result as text
if choice = "Cancel" then
	quit
else
	if choice = "BOOTCAMP" then
		set legacy to "-legacy"
	end if
	set bootVol to choice
	do shell script "bless -mount \"/Volumes/" & bootVol & "\" " & legacy & " -setBoot -nextonly" password "[B]PASSWORD[/B]" with administrator privileges
	do shell script "shutdown -r now" password "[B]PASSWORD[/B]" with administrator privileges
end if
 
Last edited:
Back
Top Bottom