kvakulo / Switcheroo

The humble incremental-search task switcher for Windows
www.switcheroo.io
GNU General Public License v3.0
778 stars 121 forks source link

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

Open imjb1812 opened 4 years ago

imjb1812 commented 4 years ago

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!

elig0n commented 4 years ago

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

MartinLichtblau commented 4 years ago

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

manogna4 commented 4 years ago

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 .

MartinLichtblau commented 4 years ago

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 :-)

manogna4 commented 4 years ago

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:

  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 .

elig0n commented 4 years ago

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

MartinLichtblau commented 4 years ago

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

elig0n commented 4 years ago

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

MartinLichtblau commented 4 years ago

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