Switcheroo icon indicating copy to clipboard operation
Switcheroo copied to clipboard

Request: Option to have the cursor move to the selected window

Open imjb1812 opened this issue 5 years ago • 9 comments

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!

imjb1812 avatar Feb 01 '20 22:02 imjb1812

Perhaps also raise an Issue in my fork as I might implement this feature.

elig0n avatar May 17 '20 01:05 elig0n

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. !

MartinLichtblau avatar May 29 '20 11:05 MartinLichtblau

will you please share this implementation?

On Fri, 29 May 2020 at 17:21, Martin Lichtblau [email protected] 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 .

manogna4 avatar May 29 '20 12:05 manogna4

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:

  1. download this CenterMouseOnActiveWindow.zip
  2. extract and run the CenterMouseOnActiveWindow.exe

Use it for some time and tell me what you think about it :-)

MartinLichtblau avatar May 29 '20 13:05 MartinLichtblau

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 [email protected] 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:

  1. download this CenterMouseOnActiveWindow.zip https://github.com/kvakulo/Switcheroo/files/4702071/CenterMouseOnActiveWindow.zip
  2. 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 .

manogna4 avatar Jun 01 '20 02:06 manogna4

@MartinLichtblau do you happen to know how to modify it so it only focuses the mouse when the virtual desktop changes?

elig0n avatar Jun 01 '20 16:06 elig0n

No, but this should be hard. What for? What doesn't work?

MartinLichtblau avatar Jun 01 '20 17:06 MartinLichtblau

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

elig0n avatar Jun 02 '20 09:06 elig0n

I see, differing between different monitors is possible != virtual desktop.

MartinLichtblau avatar Jun 02 '20 11:06 MartinLichtblau