Right-click + scroll to adjust system sound volume

Post your working scripts, libraries and tools for AHK v1.1 and older
a0l0e0x000
Posts: 14
Joined: 26 Dec 2020, 08:27

Right-click + scroll to adjust system sound volume

Post by a0l0e0x000 » 04 Feb 2021, 08:51

Scrolling while you hold right-click will let you adjust system sound volume quickly and easily.
Simple script, but I only tested it for a bit, so I hope it works well. You can adjust the increments by changing the numbers (+2 and -2) in the script.

Code: Select all

~RButton::
hotkey, WheelUp, Volup, on
hotkey, WheelDown, Voldwn, on
keywait, RButton
hotkey, WheelUp, off
hotkey, WheelDown, off
return

Volup:
soundset, +2
return

Voldwn:
soundset, -2
return

Return to “Scripts and Functions (v1)”