The code is:
Code: Select all
#IfWinActive ahk_class RiotWindowClass
*NumpadAdd::
While GetKeyState("NumpadAdd", "p")
{
SendInput, {WheelDown}
Sleep 10 ; 1 second
}
return
*NumpadSub::
While GetKeyState("NumpadSub", "p")
{
SendInput, {WheelUp}
Sleep 10 ; 1 second
}
return
Thanks!