Code: Select all
#Requires AutoHotkey v2.0
LButton:: {
start := A_TickCount
KeyWait 'LButton'
if (A_TickCount - start) > 500
Click
Click
}
Note that this precludes the ability to drag things with the mouse. That could probably be added if necessary.