How would I give KM an awareness of whether or not there's an external display connected?

I have some Marcos for window manipulation and movement, but my external display is much larger than my macbook's display, so when I use those macros on the external display, the macros don't do what I want.

So I want my macros to somehow "know" if I've got an external display hooked up, and if I do, the sizes and coordinates should be X, but if not, the sizes and coordinates should be Y.

Any guidance would be greatly appreciated. Thanks!

Take a look at SCREENCOUNT function.

Then, use an IF/THEN based on that.


1 Like

Aha! Got it! Thanks so much! Appreciate the quick response!

1 Like