Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Windows and OS X both run well on my MacBook Pro.

Is there a method to place an alias to "Boot to Windows" that will 'Boot to windows without much more fuss.

I want to replaces the sequence of 'System Preferences' -> 'Startup Disk' , Select Windows Partition, Press "Reboot", confirm ... on the OS X side, and the similar dance and song in Windows XP with on simple button cleck .. ok, I'd accept or even appreciate one (1!) confirmation dialog...

I know about pressing the command key at boot time .. but I'd rather go and grab some coffee than baby sit a boot process.


EDIT here's the solution I arrived at thanks to benjamin-schollnick

I downloaded, unzipped and opened WinRestart in AppleScriptEditor.

It contains two lines of code::

do shell script "bless -mount 
   /Volumes/[*BootCampPartition's Name goes here*]/ -legacy -setBoot -nextonly" 
   with administrator privileges
do shell script "shutdown -r now" 
   with administrator privileges

I then opened the Finder and navigated to /Volumes (press cotrol-shift-g, then type /Volumes) to find my BootCamp partition's name (StiefelLager , silly German litteral translation af "Boot" and "Camp") and replaced the [*BootCampPartition's Name goes here*] from the script above with that name. My script now reads (2 lines!):

do shell script "bless -mount 
    /Volumes/StiefelLager/ -legacy -setBoot -nextonly" 
    with administrator privileges
do shell script "shutdown -r now" 
    with administrator privileges

Saving the file to a now name converted it from the 'old' fromat to something current.

Not quite a one click solution (I have to click run, then type my password), but much easier than what I had to do before.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

One solution is Winrestart...

I reviewed it here... http://www.schollnick.net/wordpress/2009/02/winrestart-applescript-mini-app-for-automatically-restarting-boot-camp-into-windows/

It's an applescript applet that will ask for your Administrator password, and then restart into windows, but not reset your startup drive.

This way you can boot into windows, play your game, etc.... And then just restart, and it'll automatically reboot back to the Macintosh...

The author's web site:

http://rainbowlazer.com/category/os/boot-camp/

share|improve this answer
    
sounds promising! I'll investigate! –  lexu Nov 6 '09 at 10:15
    
requires me to install rosetta! Strangeness! –  lexu Nov 6 '09 at 10:17
    
I was able to load it with the AppleScriptEditor then save it under another name. Will test next. –  lexu Nov 6 '09 at 10:27
    
+1 and ACCEPT! It Worked! I'll edit my question and add the steppes I took to make it work! THANK YOU! –  lexu Nov 6 '09 at 10:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.