Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Mikhail22/drag-scroll--autohotkey
AHK scripts
https://github.com/Mikhail22/drag-scroll--autohotkey
Last synced: 2 months ago
JSON representation
AHK scripts
- Host: GitHub
- URL: https://github.com/Mikhail22/drag-scroll--autohotkey
- Owner: Mikhail22
- Created: 2018-04-10T07:24:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-01T10:24:09.000Z (over 1 year ago)
- Last Synced: 2024-05-20T11:02:55.180Z (6 months ago)
- Language: AutoHotkey
- Size: 84 KB
- Stars: 40
- Watchers: 4
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drag to scroll 🖱️↕ (Autohotkey, Windows)
This Autohotkey app provides system-wide drag-to-scroll feature. It uses mouse movement for scrolling, which turns out to be more efficient and it reduces stress on the operator's hand, compared to the scroll wheel. So if you want better scrolling experience, or maybe your scroll wheel have broken, then this app is for you.
Further, if you use a drawing tablet or a touchpad and the driver/OS does not provide drag scroll, then this app solves it.> Note: if this version is not working stable, e.g. the context menu still shows up, you can try older version (v03 in the archive folder)
### Installation
Firstly, you need Autohotkey (v1.1.27+) installed on your PC. The easiest option is to download the .exe installer from the offical site: [www.autohotkey.com](https://www.autohotkey.com)Once you have installed Autohotkey, “.ahk” files can be run directly in explorer.
Download the script:
[mouse-scroll-v04.ahk](mouse-scroll-v04.ahk)
### Run the script
Run the “mouse-scroll-v04.ahk”. Now hold the right mouse button and move the mouse to scroll.
To close the app, manually close the tray icon.If you want the app to start automatically at OS startup, copy-paste the script or a shortcut into the Startup folder (%appdata%\Microsoft\Windows\Start Menu\Programs\Startup).
### Setup
**Note**: For smoother scrolling, you may first set the system scroll speed to “1” or “2” in system Mouse Properties:
Customizations are made in the script directly.
Few setup variables are available, see the “User settings” section in the source code. Simply edit the variable in the source code and restart the app (just run it again, it will reload immediately, or click "reload" in the tray icon).Settings:
To use horizontal movement as input (it is better ergonomically and set as default), set the `horiz` variable to “true” or “false”:
> horiz := true
To swap the scrolling direction, set the `swap` variable to “true” or “false”:
> swap := trueTo set the scroll speed factor, edit the `k` variable:
> k := 6### Other versions
2d scroll (in both directions)
https://github.com/Mikhail22/drag-scroll--autohotkey/tree/master/archive/scroll-2d#scroll-in-both-directions