Coder Social home page Coder Social logo

restart-to-bootcamp's Introduction

Note: Not actively maintained, but updated by community contribution as of December 2020.

Restart to Bootcamp

  • Uses Automator to reboot system to Bootcamp.
  • Made under macOS Sierra 10.12.2.
  • Tested under macOS Catalina 10.15.7 with TouchID bypass.
  • Updated for macOS Big Sur 11.0.1, and used CliClick (https://www.bluem.net/en/projects/cliclick/) as a dependency because AppleScript's ability to mouse-click is abysmal.

Install as Finder Service

  1. From a shell (Terminal) window, execute brew install cliclick (note: if you need Homebrew installed go to https://brew.sh/)
  2. Download "Restart to Bootcamp" workflow file.
  3. Right-click the file. Click Open with... -> Automator.
  4. Change thePWD to your adminstrator password (also edit theCLI if needed). Save the workflow.
  5. Right-click file again. Click _Open with... -> Automater Installer.

Ready to test: You can now select "Restart to Bootcamp" from the Finder > Services... menu. If you don't see it, check System Preferences > Keyboard > Shortcuts > Services > General (check "Restart to Bootcamp")

Optional Enhancement

You can also add it to the Touchbar from System Preferences > Keyboard > Customize Control Strip... and ensure Quick Actions is in your bar.

Alternate: Install as an Application

  1. Do Steps 1-3 in the Install as a Finder Service
  2. From within Automator, click File --> Convert to... and save as an Application.
  3. Place the saved Application inside your Applications folder (or wherever you want) and you can double-click it or pin to your Dock for easy access.

Note: Allow Finder to control the system from System Preferences > Security & Privacy > Accessibilty > Privacy

After the jump...

You can optional download the "Quit System Preferences" workflow Application and set this to run at login under System Preferences > Users & Groups > Login Items (for your user account). This will close the System Preferences panel left open from the Restart to Bootcamp operation when you come back into macOS. You can load the Application in Automator to verify it just executes that single action.

restart-to-bootcamp's People

Contributors

ryanmcginnis avatar k-willowhawk avatar willowhawk-k avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.