This repository has been archived by the owner. It is now read-only.
Easily switch betwixt Standard and 90-degree screen rotation in OS X with a keyboard shortcut
AppleScript Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Screen Rotation Toggle.workflow/Contents
Screen Rotation Toggle.applescript

Screen Rotation Toggle

An OS X "Service" (to which you can assign a shortcut key) to switch between Standard and 90-degree screen rotation (for the first monitor).

I knocked this up (based on other scripts I found arund GitHub, which are credited in the source) for my Dad, as his monitor can be rotated. Mine can't, so I don't intend to be actively developing this -- so patches are very welcome :-).

This has been tested on a Mac Mini running Mavericks.


  1. Download the Zip file of the latest release:
  2. Unzip the Zip file and move the application and the service to your ~/Library/Services/ folder.
  3. Visit System Preferences > Keyboard > Shortcuts > Services and assign a shortcut key combination to the "Safari Zoom Mode Toggle" service (under "General" at the bottom of the list).


Press the shortcut key combination. If the display is on Standard rotation, it will be toggled to 90-degree rotation; if the display is on 90-degree rotation, it will be toggled to Standard rotation.

Note: the first time you use this (or a new version), it needs to be granted access to GUI scripting (so that it can access and activate System Preference's menus and menu items); instructions on how to do this are given in a pop-up message. You may need to run it using Finder from ~/Library/Services/ rather than via the keyboard shortcut in order for the pop-up to appear.


Normal AppleScripts are kept in binary files; this seemed incongruous with the nature of open development, so the script is being developed in plain text, in exchange for a small 'compilation' process being required...

  1. Ensure you have Apple's Command Line Developer tools installed (for make).
  2. Clone the code.
  3. Run make; this will compile/build the helper app and put it and the Service in ~/Library/Services/ for you. It will also build a Zip file containing the app, service and README for distribution.
  4. Follow step 3 as above.