Microsoft’s OneNote is one example of a software that doesn’t support horizontal scrolling(Shift key + mouse wheel). The script below contains some commands set to build AutoHotKey’s exe file, which runs every time you start Windows.
AutoHotKey script : horizontal scroll with Shift key + Mouse wheel
1
2
3
4
5
6
7
8
9
10
11
12
13
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; Shift + Wheel for horizontal scrolling
+WheelDown::WheelRight
+WheelUp::WheelLeft
How to do auto-run the built-exe-file in Windows10
- make a short-cut file of your built-exe- file (for example, HorizontalScroll.exe - Shortcut)
- move(or cut & paste) the shortcut file to the path below.
1
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
Learn More
- To install AutoHotKey.
- This script is Sourced from this reddit post.