How can I tell which monitor the front window is on?

I have two monitors positioned one on top of the other. I need a way to tell if the front window is on the top or the bottom one.

Many of the macros posted here that address similar problems don't work for me because they assume the monitors are arranged right-to-left.

1 Like

Compare %Screen%Front% with %Screen%1%

Example Output


MACRO:   Which Screen is FrontMost Window In?

~~~ VER: 1.0    2018-07-17 ~~~


Which Screen is FrontMost Window In?.kmmacros (3.5 KB)
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.



This is perfect—thanks!

1 Like