Skip to content

Instantly share code, notes, and snippets.

@cheeaun
Created August 4, 2009 03:18
Show Gist options
  • Save cheeaun/160999 to your computer and use it in GitHub Desktop.
Save cheeaun/160999 to your computer and use it in GitHub Desktop.
AutoHotkey: Shift + Wheel for horizontal scrolling
; Shift + Wheel for horizontal scrolling
+WheelDown::WheelRight
+WheelUp::WheelLeft
@Polisson
Copy link

Polisson commented Jan 5, 2023

It doesn't work because it sends also Shift, perceived as Shift+WheelRight or Shift+WheelLeft

@iskmz
Copy link

iskmz commented Jul 20, 2024

It doesn't work because it sends also Shift, perceived as Shift+WheelRight or Shift+WheelLeft
@Polisson
your comment made me figure out the following fix :-

; Shift + Wheel for horizontal scrolling
+WheelDown::Send {WheelRight}
+WheelUp::Send {WheelLeft}

tested and working on windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment