Center Mouse on Monitor N

Hello,

I have triggers that move my mouse to the center of my first, second, and third monitors. This is extremely useful for me! Whenever I reposition my monitors or change my monitor setup (e.g. going from my desk monitors to just my laptop and an iPad as a second monitor), I have to change the coordinates of the mouse destinations. I use BTTs "Move Mouse To Position" action, and I "Record new Position" every time I change my configuration.

"Move Mouse To Position" cannot read coordinates from a file, read them from a BTT environment variable, or get them from an Applescript. I have always considered writing some Applescript or Python (pynput module) code to get the monitors' center coordinates and maybe even to do the mouse moving.

Would a "Center Mouse on Monitor N" action be interesting to anyone else?

Yes, I am facing the same issue. If I change the position of external monitor, I must declare the x/y position new. Which is annoying and not why I am using a computer :wink:

Solution: bring mouse cursor to center of external monitor. (no position x/y needed)

I could solve my issue via the build-in module "Move to next screen".

  • that brings the mouse to next screen
  • it is a toggle
  • pressing agian brings it just back to main screen

elegant!