Triggered by Any Application window Activates?

In this setting, the command is triggered when an application activates, but isn't triggered when an application window activates,

E.g. open two instance window of Google Chrome, and move those two window to different monitor, when active between these two windows, can't be triggered

Is there any way keyboard maestro can detect the window of an application activated?

What I want to do is to move the mouse to the window center of the current window, only when the cursor is not above current window, when you use command+tab to switch between windows, this script can save tons of time.

Hey There,

Cmd-Tab does not natively switch between windows – at least on an English system.

Command-` (back tick) is the window-switcher hotkey.

Nevertheless – if I understand your task correctly this may help:


1 Like