Mute and Adjust Volume with Keyboard Hotkeys

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 1: Download and install AutoHotkey.

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





  1. 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.

      » Comment by Rob on May 20, 2010 @ 3:35 pm
  2. 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
  3. [...] 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


Post a comment










Number of readers
- home
comics
news links
other links

about me
blog archives
docs
entertainment
experiences
funny lists
humor
intellectual
interests
metafilter
music
opinions
photos
web designs
tools
software
webmaster help

Sign up
Enter your email address to be notified of new posts



Search blog archives

Calendar
May 2010
S M T W T F S
« Apr   Jun »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  







Random quote
(View all quotes)
"Always do right. This will gratify some people and astonish the rest. -- Mark Twain"










(?) Choose theme:  X X X X X X