I'm trying to move the frontmost window by simultaneously holding a modifier key and moving the mouse, but without clicking. The macro below works, but is janky at best.
Buy a utility designed for that sort of thing? Which I'm sure is not what you wanted to hear.
You'd need to dig into the macOS at a level lower than Keyboard Maestro does to perform that sort of job really well.
I've seen a few mouse drivers and other utilities over the years that were adept at this – but I'm not keeping track of utilities the way I used to and I don't presently have any favs.
This one came up on a cursory Google search and is inexpensive:
If I was going to buy such a thing I'd do a much more intensive search of course.
Thanks for replying and for the suggestion. I actually own a similar app already. This is more of a self-inflicted challenge for my KM programming skills. My resize window macro works much better than my move macro. I figured I might encounter an OS/KM limitation at some point.
I did notice that when instructing KM to move a window, the Console log shows entries like this:
@paulcristo what KM is for macro editing, BetterTouchTool is for everything related to input devices.
I control to my KM palettes/macros 90% via a BTT gesture control, without using a shortcut etc.
Wow @appleianer again you have shown me something I didn't even know I had. I got BetterTouchTool just to make the TouchBar more useful on my MacBook Pro and didn't look into all the other things it can do. I'm going to spend some time looking into all these other features - but for now that window sizing and dragging thing without a shortcut and just having the mouse pointer anywhere over the window is so cool I can see I'm going to wonder how how I managed before... In fact it feels like this should just be built into Mac OS anyway.
I learn something new every day. Especially since with the app updates always come new features that are waiting to be optimized with KM, in combination with other tools / apps