Condition Based on Different Monitors

I use a Mac Mini at home that I carry to my office. I use Keyboard Maestro a lot (awesome software by the way) to move and change the size of the windows. I have two different monitors. One is LG Ultrawide 29 inches and the other is 31.5 Lenovo. I made two different sets of macros based on the monitor that I use and I need to disable one of them based on where I work.

Is there a way to have a condition to run one of them based on the monitor that I use? or based on the wireless name that I am connected to? as my home wireless name is different from the office wireless.
Thanks

1 Like

Hey Ali,

Welcome to the forum!   :smile:

This one's pretty easy once you know your way around KM.

Use the text token %Screen%Main% to acquire the dimensions of your screen.

This action will install into the macro currently being edited:

Display Text.kmactions (1.0 KB)

This is a discrete macro:

Detect Screen Size and Act Appropriately v1.00.kmmacros (5.4 KB)

-Chris

1 Like