Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mac Automator workflow to toggle screen mirroring on 13" MBP so that internal LCD is always 1440x900 retina
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
@dzuelke

This comment has been minimized.

Copy link
Owner Author

@dzuelke dzuelke commented Feb 14, 2018

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.

@Paul-B

This comment has been minimized.

Copy link

@Paul-B Paul-B commented Aug 31, 2019

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