WheelUp::
WheelDown::
SendInput, {%A_ThisHotkey%} ; remove this line if you don´t want the first tick to be registered
; Impede scrolling in the opposite direction after the second tick:
If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < DllCall("GetDoubleClickTime"))
SendInput, {%A_ThisHotkey%} ; or
; SendInput, {%A_ThisHotkey% 2} ; if you want to scroll faster
return
EDITAR:
Experimente também:
WheelUp::
If (A_PriorHotKey = WheelDown and A_TimeSincePriorHotkey < 500) ; 500 ms, you can in- or decrease this time.
SendInput, {WheelUp 2}
else
SendInput, {WheelUp}
return
WheelDown::
If (A_PriorHotKey = WheelUp and A_TimeSincePriorHotkey < 500)
SendInput, {WheelDown 2}
else
SendInput, {WheelDown}
return