Tweak Windows 10 scrollbar to jump to clicked location by default

In Windows 10 (and probably all other Windows versions too), clicking a scrollbar above or below its handle scrolls up or down by one page. But instead, I'd like to jump to the clicked location. There is already a functionality for that, which is triggered by either using Shift+Click or (in some applications) right clicking and choosing "scroll here" from the context menu. But I want that functionality to be the default behavior.

How can I make "scroll here" the default action for left clicks in scrollbars?

Ideally, there would be a registry setting or something like that. But I'm also open to hacks like an AutoHotKey script that detects left clicks on scrollbars and injects a Shift for these clicks.


Try this AutoHotkey script:

~LButton Up::
    ; Get the current position of the mouse cursor:
    MouseGetPos, MouseX, MouseY, A ; A means the active window
    ; Get the position and size of the active window:   
    WinGetPos, WinX, WinY, WinWidth, WinHeight, A
    If (MouseX > (WinWidth - 20) and MouseX < WinWidth and MouseY > 200) ; right edge 
        SendInput, +{Click} ; + is the symbol for Shift
return

https://www.autohotkey.com/docs/commands/MouseGetPos.htm https://www.autohotkey.com/docs/commands/WinGetPos.htm https://www.autohotkey.com/docs/Hotkeys.htm#Symbols