![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
[Mod action: Moved topic to “Gaming”]
Code: Select all
#Requires AutoHotkey v2.0
; WheelDown WheelUp
numvar := 0
WheelUp::
{
global numvar += 1
SendInput numvar
}
WheelDown::
{
global numvar -= 1
SendInput numvar
}
Code: Select all
#Requires AutoHotkey v1.1.33
; i use v1.1.33 for easy scripting
numvar := 0
WheelUp::
{
numvar += 1
if numvar >= 10 ; if more than 9, switch back to 0
{
numvar := 0
}
Send, %numvar%
}
return
WheelDown::
{
numvar -= 1
if numvar <= -1 ; if less than 0, switch back to 9
{
numvar := 9
}
Send, %numvar%
}
return