LeMarchand Posted January 24, 2020 Posted January 24, 2020 Looking for a way to change mouse scroll behaviour on the fly. Default lines is 3, and this is mainly fine, but occasionally I would find it useful for this to be 1. Ideally, by holding down a modifier key. I recently installed StrokesPlus, which (finally!) allows my 3 button devices to do browser back/forward; and there does seem to be a way to do it in that (https://www.strokesplus.com/forum/topic/416), but I don't understand the script!
andy_b Posted January 24, 2020 Posted January 24, 2020 I'd probably look at Autohotkey to achieve something like this. Maybe use something like this (at least for ideas) - https://autohotkey.com/board/topic/48426-accelerated-scrolling-script/ 1
ThomL Posted January 24, 2020 Posted January 24, 2020 I've got it working with AutoHotKey: Change amount of lines scrolled by mouse wheel to 1 line at an OS level with the Windows settings app Install AutoHotKey Create AutoHotkey.ahk save here: C:\Program Files\AutoHotkey Add this code to AutoHotkey.ahk and save the file: WheelUp::Send {WheelUp 3} WheelDown::Send {WheelDown 3} #WheelUp::Send {WheelUp 1} #WheelDown::Send {WheelDown 1} Run AutoHotKey, now holding the Windows key while scrolling should scroll a single line and scrolling normally should scroll 3 lines 1
LeMarchand Posted January 24, 2020 Author Posted January 24, 2020 I've got it working with AutoHotKey: Change amount of lines scrolled by mouse wheel to 1 line at an OS level with the Windows settings app Install AutoHotKey Create AutoHotkey.ahk save here: C:\Program Files\AutoHotkey Add this code to AutoHotkey.ahk and save the file: WheelUp::Send {WheelUp 3} WheelDown::Send {WheelDown 3} #WheelUp::Send {WheelUp 1} #WheelDown::Send {WheelDown 1} Run AutoHotKey, now holding the Windows key while scrolling should scroll a single line and scrolling normally should scroll 3 lines Thank you. I'll try combining that with what StrokesPlus was doing so I only need one extra app running. 1
ThomL Posted January 24, 2020 Posted January 24, 2020 What are you doing with strokesplus at the moment - backward and forwards in browsers shouldn't be too hard in AHK if this is all strokesplus is doing? What keybinds have you tied to the forward/backwards? A quick google turns up this: ~LButton & RButton::Send {Browser_forward} RButton & LButton::Send {Browser_back} RButton::Send {RButton} Adding this the AHK allows you to hold the left mouse button and click the right to move forwards and hold the right mouse button and click the left to move backwards in a browser from my testing. 1
LeMarchand Posted January 24, 2020 Author Posted January 24, 2020 What are you doing with strokesplus at the moment - backward and forwards in browsers shouldn't be too hard in AHK if this is all strokesplus is doing? What keybinds have you tied to the forward/backwards? A quick google turns up this: ~LButton & RButton::Send {Browser_forward} RButton & LButton::Send {Browser_back} RButton::Send {RButton} Adding this the AHK allows you to hold the left mouse button and click the right to move forwards and hold the right mouse button and click the left to move backwards in a browser from my testing. Thanks! I'll try later. That's all I was using on SP. It had something based on the earlier Rocker that used just those keys. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now