This is a sequel to my first screencast on the same topic. This improved version uses only AutoHotkey to adjust the volume and mute, and it works on Windows XP and Windows 7.
Here’s the screencast. See below for detailed instructions on how to set it up for yourself.
Step 2: Download volume.ahk (shown below) and put it in the Startup folder. To find the Startup folder, click the Start button, then All Programs. Right-click on the Startup folder and click Open.
Step 3: Run volume.ahk by double clicking on it. This is what’s in volume.ahk.
; Volume control (turn master volume up and down with Ctrl-Alt-Up/Down and
; toggle mute with Ctrl-Alt-.)
^!Up::Send {Volume_Up}
^!Down::Send {Volume_Down}
^!.::Send {Volume_Mute}
That’s it. Now you can use these keyboard shortcuts to adjust the volume and toggle mute.
Ctrl-Alt-Up: Increase the volume Ctrl-Alt-Down: Decrease the volume Ctrl-Alt-Period: Mute the volume
Thank you very much. I have been trying to figure it out.
Interesting that a period and keypad decimal point are
two different things to windows running but ahk seems to ‘see’
them both as a period when typed in the script.
You’re welcome. And that is interesting about the period and the number pad decimal point. It kind of makes sense that they both work, but knowing AHK, I bet there’s a way to distinguish them too.
Thank you very much. I have been trying to figure it out.
» Comment by Rob on May 20, 2010 @ 3:35 pmInteresting that a period and keypad decimal point are
two different things to windows running but ahk seems to ‘see’
them both as a period when typed in the script.
You’re welcome. And that is interesting about the period and the number pad decimal point. It kind of makes sense that they both work, but knowing AHK, I bet there’s a way to distinguish them too.
» Comment by Dan on May 20, 2010 @ 8:23 pm[...] to adjust the volume with a keyboard shortcut Update: Here’s an easier way to do [...]
» Pingback by How to adjust the volume with a keyboard shortcut on November 14, 2010 @ 1:30 am