Howdy folks, I'm sharing this macro to (hopefully) help others who have had issues with the window positioning bug.
See these posts for more information:
- Window resize works inconsistently (dependent on App and Mac) - Questions & Suggestions - Keyboard Maestro Discourse
- Possible Bug: Manipulate a Window Interacts Differently (And Unreliably) With Different Applications - Questions & Suggestions - Keyboard Maestro Discourse
This macro uses three variables set from within Keyboard Maestro, and then an AppleScript to repeatedly move the target window until it's position matches the coordinates supplied by the variables.
Setup and use is fairly straight-forward and well documented in the macro itself. Special shoutout to @Nige_S for help polishing the AppleScript.
In my limited testing it works well. But feel free to supply feedback if for some reason it doesn’t work properly or if you feel it can be improved.
Position window.kmmacros (19.6 KB)