I’m likely in a very small minority here, but I’m old and gray and not as quick as I once was. Sometimes I have trouble getting my pointer where I want it within the 5 second countdown when using Move/Get or Mouse Display. I’m aware that I can use ⇧⌘4 or Prompt for Screen Rectangle in a macro to get around the countdown limit. However, these methods give me screen coordinates, rather than window coordinates and are sometimes hard to read. Any other ways to get accurate window coordinates? Or, some way to increase the countdown limit? I’m using KM version 11.0.3.
Welcome to the gray club.
KM has some internal settings that you can change. I think if you use this command in a Terminal window, you can get the result you want (if you increase the number "5" below, maybe to "10"?) I suspect you will have to restart KM after you make this change, for it to take effect.
defaults write com.stairways.keyboardmaestro.editor MouseGetCountdown -int 5
Don‘t worry, this is not an age-related issue.
@Airy's proposed change of the setting seems like the best way to go, but here's the general idea of how to grab screen coordinates relative to the Focused Window's top left corner:
Set clipboard to Screen location- relative to focused window.kmmacros (2.1 KB)
(KM v11.0.3)
Try the KM menu Window>Mouse Display or Command 5. The rectangle on the left of this image will allow you to select if the coordinates shown on the right are relative to the screen or the focused window and to corner.
[Uploading: Untitled.jpg...]
()
Somewhat related and a recient find for me through SetApp is PixelSnap so helpful on getting exact buttons and distances from and between things. So many great things about this app.
Many thanks. Just what I wanted. Support from you guys makes the software that much better.
I agree the people on this forum are stellar!
airy’s reply with a default command does the job, almost. It didn’t seem to increase countdown times when using Mouse Display. Any way to get that to happen?
If you are right that it doesn't increase the countdown timer of that button in the Mouse Viewer window, then I'm going to infer that @peternlewis didn't think of making that default apply to that button. It seems like you are making a valid point.
It's more or less the same process, so the count should probably honour that preference.
Fixed for the next version.