Script to Save my Mouse Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
personfaceman

Script to Save my Mouse

19 Apr 2018, 09:52

Thanks in advance.

My mouse is "broken". Its left-click switch lets go occasionally. Whenever it does, it only does it for an incredibly short amount of time, but it still interferes with drag-and-drop things. I know that it is possible to fix this problem with a script, but I don't know how.
swagfag
Posts: 937
Joined: 11 Jan 2017, 17:59

Re: Script to Save my Mouse  Topic is solved

19 Apr 2018, 11:34

i doubt it can be done

get a new mouse or replace the switch
TheVeterinarian

Re: Script to Save my Mouse

19 Apr 2018, 11:34

personfaceman wrote:Thanks in advance.

My mouse is "broken". Its left-click switch lets go occasionally. Whenever it does, it only does it for an incredibly short amount of time, but it still interferes with drag-and-drop things. I know that it is possible to fix this problem with a script, but I don't know how.



Did you try physically cleaning the mouse?

Meantime i'll pray for your mouse
User avatar
evilC
Posts: 4277
Joined: 27 Feb 2014, 12:30

Re: Script to Save my Mouse

19 Apr 2018, 13:05

Yeah, this is probably fixable
However, it will mean delaying all button events for the left mouse button by the amount of time that it glitches out for.
Basically you block all clicks, and wait to see if it re-presses it again within a certain amount of time.
Edit the value of SuppressTime in the script, make it as low as you can whilst still remaining reliable.
If you can get it under 100ms or so, it will probably be pretty much un-noticeable.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Return to “Ask For Help”

Who is online

Users browsing this forum: swagfag and 57 guests