Scroll Faster using CapsLock and Autohotkey
I wanted a global faster scrolling option in windows.
In apps like VSCode when you hold ALT the Scroll Wheel on your mouse scrolls about 5 times faster.
I wanted this functionality in every app. Long websites, word documents, pdfs etc.
To achieve this I created this AutoHotKey script.
#Requires AutoHotkey v2.0
#SingleInstance Force
; Fast scrolling when Caps Lock is held down
SetCapsLockState ("AlwaysOff") ; Disable Standard Caps Lock functionality (Actual caps-lock will not work any more)
scrollSpeedMultiplier := 5 ; Scroll speed multiplier
; Define fast scroll behavior when Caps Lock is held down
CapsLock & WheelUp::
{
Send("{WheelUp " scrollSpeedMultiplier "}")
return
}
CapsLock & WheelDown::
{
Send("{WheelDown " scrollSpeedMultiplier "}")
return
}
This totally disables the capslock, but replaces it to be a modern modifier key.
Save this file as CapsScrollSpeed.ahk and add it to your startup folder (shell:startup) to auto enable the script on every startup.
End
// Nils Henrik
This post was written by a human.