Rescale All Windows When Plugged in to Monitor


I frequently plug my MacBook Pro into an external monitor throughout the day, using the mirror display mode.

I'm wondering if there's a way to have my windows automatically resized to full screen whenever I plug it in. Is there a trigger for this or some other method?

Thank you!

Keyboard Maestro doesn't have a Monitor-is-Connected/Disconnected trigger.

So you'll have to either periodically scan for a change in the number of screens, or run the macro manually.

Here's some discussion to get you started:

Trigger for Attaching Second Monitor


There is an app that has Screen Triggers KM does not have:

List of available events

Event Scripts can run AppleScript, so it can trigger KM macros.


Well there goes $8 for me. I’ve been looking for something that can detect Apple Music events to trigger some AppleScripts I wrote.

1 Like