Use AppleScript for easy rebooting to Bootcamp

This is a script I use every time I need to boot my iMac to Windows on Bootcamp. I have a keyboard command assigned to it so I can reboot into windows with just one keystroke.

To customize the script for your system, rename “Windows on Bootcamp” (you can see the name in System Preferences/Startup Disk).

Lion users have to make one small change to make the script work. Replace click button “Windows on BOOTCAMP”… with click radio button “Windows on BOOTCAMP”…

The script is after the break

