Thanks
Code: Select all
+WheelDown::
Loop 6
Send {WheelRight}{WheelRight}
+WheelUp::
Loop 6
Send {WheelLeft}{WheelLeft}
Return
Code: Select all
+WheelDown::
Loop 6
Send {WheelRight}{WheelRight}
+WheelUp::
Loop 6
Send {WheelLeft}{WheelLeft}
Return
Code: Select all
#Requires AutoHotkey v1.1.33
+WheelDown::SendInput {WheelRight 12}
+WheelUp::SendInput {WheelLeft 12}
Code: Select all
#Requires AutoHotkey v2.0
+WheelDown::Send '{WheelRight 12}'
+WheelUp::Send '{WheelLeft 12}'
Thanksmikeyww wrote: ↑30 Jan 2023, 11:34Welcome to this AutoHotkey forum!
Code: Select all
#Requires AutoHotkey v1.1.33 +WheelDown::SendInput {WheelRight 12} +WheelUp::SendInput {WheelLeft 12}
Code: Select all
#Requires AutoHotkey v2.0 +WheelDown::Send '{WheelRight 12}' +WheelUp::Send '{WheelLeft 12}'
Code: Select all
#Requires AutoHotkey v2.0
; Horizontal Scroll
#WheelUp:: Send '{Blind}{WheelLeft}'
#WheelDown:: Send '{Blind}{WheelRight}'
#HotIf WinGetClass((MouseGetPos(,, &hwnd), hwnd)) = "CabinetWClass"
#WheelUp:: (_ := (n) => ((n < 0) || (PostMessage(0x114, 0,, "ScrollBar1", (MouseGetPos(,, &hwnd), hwnd)), _(n-1))))(6)
#WheelDown:: (_ := (n) => ((n < 0) || (PostMessage(0x114, 1,, "ScrollBar1", (MouseGetPos(,, &hwnd), hwnd)), _(n-1))))(6)
#HotIf