Jump to content


My mouse double clicks


  • Please log in to reply
15 replies to this topic

#1 WhiteCrosses

WhiteCrosses
  • Guests

Posted 25 September 2009 - 01:12 PM

Hi I need some kind of script that only lets me click once every 0.1 of a second or something because my mouse all of a sudden started double clicking by itself. Can anyone help?

#2 BoBo³

BoBo³
  • Guests

Posted 25 September 2009 - 02:20 PM

First try to change its speed setting within the control center.

#3 WhiteCrosses

WhiteCrosses
  • Guests

Posted 25 September 2009 - 03:14 PM

Tried that

#4 randallf

randallf
  • Members
  • 708 posts

Posted 25 September 2009 - 03:29 PM

There is a thread on this. I'm sorry but I don't know how to search for it, however I know people have this problem with a certain brand of mouse.

#5 The Beast

The Beast
  • Members
  • 20 posts

Posted 27 September 2009 - 11:35 PM

Untested-
LButton::
Click
Sleep,100
Return


#6 MasterFocus

MasterFocus
  • Moderators
  • 4126 posts

Posted 28 September 2009 - 12:08 AM

LButton::
Click
Sleep,100
Return

Not a good approach.


Try this:
Timer := A_TickCount
Return

$LButton::
  If ( A_TickCount-Timer < 100 )  ;  change this as desired
    Return
  Timer := A_TickCount
  Click down
Return

$LButton Up::Click up


#7 BrianKamrany

BrianKamrany
  • Members
  • 8 posts

Posted 08 October 2012 - 12:06 AM

MasterFocus, I would like to thank you for your script. I have a buggy left click and it works quite well. There may be one bug, which is that sometimes if I'm highlighting text, it will click where my mouse pointer is and I believe that's because even though you limited the left click down click, the left up click isn't limited, so if a mouse clicks the left button twice very quickly, it will click up twice still and cause a bug. However, the bug hasn't been showing up since I first saw it, so I'm ignoring it until it becomes a problem. I also have the expertise to solve that problem if need be. Anyways, thank you again for the script. It saved me the trouble of writing one on my own and troubleshooting.

#8 Guests

  • Guests

Posted 08 October 2012 - 02:16 AM

; ahk_l

#if MultiClick(2, 200)

    LButton::return

#if



MultiClick(neededClickCount, clickTimeout)

{

    static clickCount, priorHotKey, priorTickCount

    return (clickCount := (A_ThisHotkey == priorHotKey && A_TickCount-priorTickCount <= clickTimeout)? clickCount+1 : 0) = neededClickCount-1

        , priorHotKey := A_ThisHotkey, priorTickCount := A_TickCount

}


#9 JSLover

JSLover
  • Members
  • 920 posts

Posted 09 October 2012 - 01:19 AM

I have a buggy left click...


...did you say "Buggy Mouse"?...
Buggy-Mouse.ahk

#10 hoedus

hoedus
  • Members
  • 4 posts

Posted 31 October 2012 - 07:44 PM

Hi JS Lover,

I tried your script few days ago, it works perfectly for my steel series ikari, which has all its three major buttons bugged.
However, I find very annoying to have this debug pop up. I managed to disactivate it by unchecking the checkbox, but everytime I start my commputer, it's back on. How can i edit the script, or do whatever is needed to prevent that?
Thanks again for the great work!

#11 JSLover

JSLover
  • Members
  • 920 posts

Posted 01 November 2012 - 12:19 PM

I managed to disactivate it by unchecking the checkbox, but everytime I start my commputer, it's back on.


...sorry about that. I have changed Debugging to default to off...so just download the script again.

Also, there are now (there wasn't before) Settings ("Debug" & "Debug_OnlyBlocked") for changing the default Debug values.

In the future, Buggy Mouse will save settings to an ini file & remember changes made while running (for example the checkboxes will {eventually} persist).

#12 hoedus

hoedus
  • Members
  • 4 posts

Posted 01 November 2012 - 06:21 PM

Great! Thanks JSLover, however, it seems the script is still the old one on your website (last update: may 2012). Am I looking for the right one? --> http://r.secsrv.net/...pts/Buggy-Mouse

#13 Grendahl

Grendahl
  • Members
  • 321 posts

Posted 01 November 2012 - 06:33 PM

Before you 'fix' this issue with a script:
Go to tools , folder options, observe the section (Click items as follows)
and then select 'Double click to open an item menu'.

#14 hoedus

hoedus
  • Members
  • 4 posts

Posted 01 November 2012 - 07:41 PM

Hi Grendahl,

This has nothing to do with the way my OS is configured. My mouse just clicks as crazy on its three main buttons. It started few months ago and getting worse.
JS lover's script blocks ~400 clicks per day, which proves that the mouse is really buggy... and needs a fix (hardware fix would be better, but as long as soft works, it's fine by me).

#15 JSLover

JSLover
  • Members
  • 920 posts

Posted 02 November 2012 - 02:19 AM

however, it seems the script is still the old one on your website (last update: may 2012).


...load the URL, then press Reload -- or Shift+Reload -- to force your browser to get the new version...

Am I looking for the right one? --> http://r.secsrv.net/...pts/Buggy-Mouse


...yes, the newest version will always be there, but you may need to forcefully make the browser get a new version, by clicking Reload or holding Shift & clicking Reload.