Code: Select all
XButton1::
Send, {WheelUp 2}
return
XButton2::
Send, {WheelDown 2}
return
Code: Select all
XButton1::
Send, {WheelUp 2}
return
XButton2::
Send, {WheelDown 2}
return
Code: Select all
#Requires AutoHotkey v1.1.33.11
ComObjCreate("SAPI.SpVoice").Speak("It's working!")
XButton1::
While GetKeyState("XButton1", "P") {
SendEvent {WheelUp 2}
Sleep 30
}
Return