I've managed to get it working perfectly for the action of clicking/double clicking. It ignores too fast (less than 100 ms) double clicks flawlessly, the only problem is that my script now breaks my click drag behavior. I can no longer select words or multiple files by click dragging. Here's what I've got:
Code: Select all
LButton::
Presses += 1
SetTimer, ResetPresses, -100
If (Presses > 1)
{
TrayTip, mousefix, double click too fast_ignored
}
else
{
Click
TrayTip, mousefix, single click
}
return
ResetPresses:
Presses := 0
return