Created
February 14, 2018 13:35
-
-
Save dzuelke/aec58a536a3f21054cc977e4abe68267 to your computer and use it in GitHub Desktop.
Mac Automator workflow to toggle screen mirroring on 13" MBP so that internal LCD is always 1440x900 retina
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
tell application "Display Menu" | |
toggle mirroring | |
select resolution "1440 x 900 Retina" on display "Color LCD" | |
end tell | |
return input | |
end run |
Just what I was looking for, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When switching to another input on an external screen that you're normally using to extend desktops, you may want to set the MBP to mirroring to continue using it, but doing that switches the Color LCD to the resolution of the external screen, which in 4K retina mode makes things... small.
This fix requires Display Menu with the Pro features unlocked for scripting access.
Create Quick Action in Automator under "Utilities", "Run AppleScript". Make sure "Service receives no input".
Then in System Preferences, "Keyboard", "Shortcuts", "Services", give it e.g.
Fn+Cmd+F1
as a shortcut, or, on a Mac with Touch Bar, you can customize the Touch Bar and e.g. in expanded view add the Quick Actions menu item, then it'll show up there.