EDIT:Just rephrasing the question:
Does anyone know how to mute the mic using autohotkey?
Here's why I need it:
Whenever someone walks in my office I have to pause the media player. Sometimes, when I'm watching a video, I also have to mute the headphone speakers. And if I'm on a skype call I have to mute the mic.
I want to assign all those functions to a single hotkey for convienience (probably the "mute" or "play/pause" key) and I'm pretty sure autohotkey can do that, but I don't know how to mute the mic using autohotkey.
Plus, I also want to assign all reverse commands (play and unmute) to a single key (could be a different one or the same one).
(I don't think it matters, but I'm using windows 7)