Mapping windows volume for keyboards without media keys

7. October 2011 12:22

Okay, I've been using this for quite a while now, but figured it should be useful for those who aren't me. I'm currently using a Unicomp Customizer 104 key keyboard at work, and home. These keyboards do not have media keys on them, which is fine since I rarely use anything other than the volume controls on them.

There is a program called AutoHotKey that can run scripts based on various keyboard inputs, or hotkey combinations. I'm using the script below to match the Super/Windows key + [, ] and \ to volume down, up and mute respectively.

;; Map WIN + [ to Volume Down
#[::Send {Volume_Down 2}

;; Map WIN + ] to Volume Up
#]::Send {Volume_Up 2}

;; Map WIN + \ to toggle mute
#\::Send {Volume_Mute}

I should state that I am not affiliated with either Unicomp or Autohotkey. This is because it was helpful to me, and took a while to find this, and figured it would be helpful to others as well.


Comments are closed


Michael J. Ryan aka Tracker1

My name is Michael J. Ryan and I've been developing web based applications since the mid 90's.

I am an advanced Web UX developer with a near expert knowledge of JavaScript.