Created
August 4, 2009 03:18
-
-
Save cheeaun/160999 to your computer and use it in GitHub Desktop.
AutoHotkey: Shift + Wheel for horizontal scrolling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Shift + Wheel for horizontal scrolling | |
| +WheelDown::WheelRight | |
| +WheelUp::WheelLeft |
Works well, thanks. For anyone who wants to scope it to a specific app which may be helpful if you have other mouse-related shortcuts for other specific apps and you don't want those to conflict...also because most Windows apps already do this out of the box, just for some reason there are certain ones that don't such as OneNote...we can use something like the following. Note this is AHK v2 script, not v1.
#HotIf WinActive("ahk_exe ONENOTE.EXE")
+WheelUp::SendInput "{WheelLeft}"
+WheelDown::SendInput "{WheelRight}"
#HotIf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works for me too. Thanks.