So I'm new to Keyboard Maestro, so of course I try something complicated out the door.
I set up screen sharing locally between my M1 Air running Monterey and 09 Mac Pro running Mojave. It works pretty great for what I do via ethernet etc, but it always defaults to the wrong screen resolution, 1280 vs 1920, so a square. I've gotten KBM to open Screen Sharing send it to the top monitor and adjust it center of screen, but I cannot get it to Option Click on the appropriate button in System preferences. (You have to Option click "Scaled" to get all the resolutions)
I've tried multiple ways, the default mouse position, click, modifier setting in "Move or Click Mouse" setting up the modifier to hold then release afterwards, activating and or selecting the System Preferences Displays window before attempting this and pausing between everything. It also doesn't work with Command, or in other Applications in the Screen Sharing window, modifier clicks are not being sent to that window. It works locally, I can get proper option etc. modifier behavior on the MacBook Air here, with no problems, but not in the Screen Sharing window. (Option click does work manually with a mouse though)
Any tricks to this or is this an OS or KBM bug?