Windows 10 Update From 1803 To 1809

A suggested solution would be: When I press "P" or "T", Keyboard Maestro would recognize which window is under the mouse cursor, then activate that window, without me having to press the title bar, then sending the shortcut for the tool to that window.