Code:
Left_click_speed = 1000 ; in mil-second
Right_click_speed = 1000
F_key_speed = 5000
msgbox, Hold Left or Right Click more than 2 seconds and release to spam`nHold Left Ctrl more than 2 seconds and release to hold Ctrl`nHold F keys more than 2 seconds and release to spam`nTab keys to disable hold or spam`nWorks only in CO client`nPress Ctrl+E to pause
~$LButton::
settimer, lclick, off
s := A_TickCount
KeyWait, LButton
e := A_TickCount - s
if e > 2000
settimer, lclick, %Left_click_speed%
return
~$RButton::
settimer, rclick, off
s := A_TickCount
KeyWait, RButton
e := A_TickCount - s
if e > 2000
settimer, rclick, %Right_click_speed%
return
~$f1::
settimer, f1, off
s := A_TickCount
KeyWait, f1
e := A_TickCount - s
if e > 2000
settimer, f1, %F_key_speed%
return
~$f2::
settimer, f2, off
s := A_TickCount
KeyWait, f2
e := A_TickCount - s
if e > 2000
settimer, f2, %F_key_speed%
return
~$f3::
settimer, f3, off
s := A_TickCount
KeyWait, f3
e := A_TickCount - s
if e > 2000
settimer, f3, %F_key_speed%
return
~$f4::
settimer, f4, off
s := A_TickCount
KeyWait, f4
e := A_TickCount - s
if e > 2000
settimer, f4, %F_key_speed%
return
~$f5::
settimer, f5, off
s := A_TickCount
KeyWait, f5
e := A_TickCount - s
if e > 2000
settimer, f5, %F_key_speed%
return
~$f6::
settimer, f6, off
s := A_TickCount
KeyWait, f6
e := A_TickCount - s
if e > 2000
settimer, f6, %F_key_speed%
return
~$f7::
settimer, f7, off
s := A_TickCount
KeyWait, f7
e := A_TickCount - s
if e > 2000
settimer, f7, %F_key_speed%
return
~$f8::
settimer, f8, off
s := A_TickCount
KeyWait, f8
e := A_TickCount - s
if e > 2000
settimer, f8, %F_key_speed%
return
~$f9::
settimer, f9, off
s := A_TickCount
KeyWait, f9
e := A_TickCount - s
if e > 2000
settimer, f9, %F_key_speed%
return
~$f10::
settimer, f10, off
s := A_TickCount
KeyWait, f10
e := A_TickCount - s
if e > 2000
settimer, f10, %F_key_speed%
return
lclick:
IfWinActive, [Conq
click, left
return
rclick:
IfWinActive, [Conq
click, right
return
f1:
IfWinActive, [Conq
send {f1}
return
f2:
IfWinActive, [Conq
send {f2}
return
f3:
IfWinActive, [Conq
send {f3}
return
f4:
IfWinActive, [Conq
send {f4}
return
f5:
IfWinActive, [Conq
send {f5}
return
f6:
IfWinActive, [Conq
send {f6}
return
f7:
IfWinActive, [Conq
send {f7}
return
f8:
IfWinActive, [Conq
send {f8}
return
f9:
IfWinActive, [Conq
send {f9}
return
f10:
IfWinActive, [Conq
send {f10}
return
^e::pause