Center Mouse on Monitor N


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?