Home Script for 'Horizon scrolling' in Windows10
Post
Cancel

Script for 'Horizon scrolling' in Windows10

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

  1. make a short-cut file of your built-exe- file (for example, HorizontalScroll.exe - Shortcut)
  2. move(or cut & paste) the shortcut file to the path below.
1
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

Learn More

This post is licensed under CC BY 4.0 by the author.