AutoHotkey v2 script to switch Windows virtual desktops with mouse wheel
Switch between Windows Virtual Desktops using your mouse wheel and middle-click!
- Hold middle mouse button and scroll to switch desktops
- Wraps around from last to first desktop
- Lightweight and fast (uses
VirtualDesktopAccessor.dll) - Written in AutoHotkey v2
- Install AutoHotkey v2
- Clone or download this repo
- Keep
VirtualDesktopAccessor.dllandMouseDesktopSwitch.ahkin the same folder - Run the script by double-clicking
MouseDesktopSwitch.ahk
To run automatically when Windows starts:
- Right-click
MouseDesktopSwitch.ahkβ Create shortcut - Press
Win + R, typeshell:startup, hit Enter - Move the shortcut into the folder that opens
- Uses VirtualDesktopAccessor.dll
- Script by Your Name
MIT