Open imjb1812 opened 4 years ago
Perhaps also raise an Issue in my fork as I might implement this feature.
I implemented this in Autohotkey to center mouse inside active window whenever it changes. And it's so smooth to have the pointer always in place, just an inch away from what you want to click, esp. for multi-monitor setups, and it works even with context/settings/menus/browser popups/ etc. !
will you please share this implementation?
On Fri, 29 May 2020 at 17:21, Martin Lichtblau notifications@github.com wrote:
I implemented this in Autohotkey to center mouse inside active window whenever it changes. And it's so smooth to have the pointer always in place, just an inch away from what you want to click, esp. for multi-monitor setups, and it works even with context/settings/menus/browser popups/ etc. !
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kvakulo/Switcheroo/issues/144#issuecomment-635930230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4MPPL7TAC4BXOLCTTWS23RT6OTDANCNFSM4KOV3LRA .
I created a standalone autohotkey script CenterMouseOnActiveWindow.ahk. If you are familiar with ahk you know what to do with it. If not, you can use it out of the box like this:
Use it for some time and tell me what you think about it :-)
thanks for this. I am familiar with ahk. Will look at your other scripts too :)
On Fri, 29 May 2020 at 19:15, Martin Lichtblau notifications@github.com wrote:
I created a standalone autohotkey script CenterMouseOnActiveWindow.ahk https://github.com/MartinLichtblau/ErgonomicInput/blob/master/Autohotkey/standaloneScripts/CenterMouseOnActiveWindow.ahk. If you are familiar with ahk you know what to do with it. If not, you can use it out of the box like this:
- download this CenterMouseOnActiveWindow.zip https://github.com/kvakulo/Switcheroo/files/4702071/CenterMouseOnActiveWindow.zip
- extract and run the CenterMouseOnActiveWindow.exe
Use it for some time and tell me what you think about it :-)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kvakulo/Switcheroo/issues/144#issuecomment-635980782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4MPPMBYDRNQYILQTJWXS3RT64APANCNFSM4KOV3LRA .
@MartinLichtblau do you happen to know how to modify it so it only focuses the mouse when the virtual desktop changes?
No, but this should be hard. What for? What doesn't work?
No, but this should be hard. What for? What doesn't work?
I just prefer for the mouse to move only when when I focus a window on a different monitor
I see, differing between different monitors is possible != virtual desktop.
I use switcheroo with 3 monitors. It would be very helpful if there was an option to have the cursor move to the window I select in switcheroo. Thanks!