Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Software fix for double clicking mouse


  • Please log in to reply
25 replies to this topic
guest3456
  • Members
  • 1704 posts
  • Last active: Nov 19 2015 11:58 AM
  • Joined: 10 Mar 2011

great to hear :)



Sjc1000
  • Members
  • 572 posts
  • Last active: Mar 11 2017 11:41 AM
  • Joined: 06 Feb 2012

It good to hear that you got it working, i've tested it a bit and it seems to work fine for me. 


Sjc1000 - Insert inspirational quote here!

PLEASE find me on the IRC if you have questions. I'm never on the forum anymore.

 


titotito
  • Members
  • 22 posts
  • Last active: May 17 2014 09:53 AM
  • Joined: 03 Jul 2012

I'm using


LButton::
If (A_TimeSincePriorHotkey < 100) ;hyperclick
Return
sendinput {LButton down}
KeyWait, LButton
sendinput {LButton up}
Return

for left and also right and middle clicks (RButton, MButton). It works most of the time, although especially with middle click it lets some through.

 

But the main problem is: when I hold a modifier (like Shift) it seems to stop working. Any way to fix that?



HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
*LButton::


titotito
  • Members
  • 22 posts
  • Last active: May 17 2014 09:53 AM
  • Joined: 03 Jul 2012

If I do that the modifiers (Shift, Ctrl) don't work at all.



HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
*LButton::
If (A_PriorHotkey=A_ThisHotkey && A_TimeSincePriorHotkey < 100) ;hyperclick
Return
sendinput {Blind}{LButton down}
KeyWait, LButton
sendinput {Blind}{LButton up}
Return


titotito
  • Members
  • 22 posts
  • Last active: May 17 2014 09:53 AM
  • Joined: 03 Jul 2012

That seems to work great, thanks!



titotito
  • Members
  • 22 posts
  • Last active: May 17 2014 09:53 AM
  • Joined: 03 Jul 2012

Just a curiosity... I'm currently testing Windows 8 (latest 8.1 update 1) and it lets more multiple clicks through compared to Windows 7. Especially middle clicks. Anyone know why?

 

If I were to make a guess it's as if AHK has lower CPU priority in Windows 8. Because high CPU load in particular makes AHK less likely to filter clicks (also in Windows 7) and causes some issues.



azat130
  • Members
  • 1 posts
  • Last active: Jan 15 2015 11:19 PM
  • Joined: 06 Oct 2014

Can you guys help me, i tried to use this script, however when i click (hold for a little while) and then release it x2 clicks. Is there any way to make it act like this: when i click release: it single clicks; And when i click and hold (drag or something) it will still single click, but when i click 2 times with interval like 0.2-0.5 seconds it will double click? Thanks in advance ^_^



Finishtilt
  • Members
  • 2 posts
  • Last active: Feb 16 2015 10:38 AM
  • Joined: 14 Feb 2015

 

MButton:: If ( A_TimeSincePriorHotkey < 50 ) 

SendInput, {MButton Down} 
return 
Mbutton Up::SendInput, {MButton Up} 

 

 

*LButton::
If (A_PriorHotkey=A_ThisHotkey && A_TimeSincePriorHotkey < 100) ;hyperclick
Return
sendinput {Blind}{LButton down}
KeyWait, LButton
sendinput {Blind}{LButton up}
Return

Hello, a new user here. Im trying to fix my mouse Mbutton making random insta doubleclicks. And Im unsure how the different endings work. On the top code theres no return or keywait unlike on the lower version. Which one should I use ? Thanks

 

edit: found out I posted in wrong section, sry for that and if anyone could move it to the gaming questions. 



Daonemonstar
  • Members
  • 10 posts
  • Last active: Jun 03 2015 08:46 AM
  • Joined: 28 May 2015

Hi, just wondering is there anyway to setup a double clicker with a 0.6 sec delay between double clicks?