Please try
Window Information Tools - Macro Library - Keyboard Maestro Discourse
https://forum.keyboardmaestro.com/t/window-information-tools/3824/110
Explanation:
AppleScript and KM measure windows’ bounds differently.
KM uses Width and Height whereas AS uses Distance from the Left and Distance from the top.
Usage: Anytime you need to position 1 or more Finder windows on your screen, first set the relevant windows where you want it/ them - then run the macro and you'll get the AppleScript bounds.
Should you need the bounds for a KM macro where you use "Move and Resize Window" you have to do some math (simple ~).
See this explanation here Copy the AppleScript Bounds Property of the Front Finder Window to the Clipboard