Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm working as software developer in a rather loud room with lots of distractions, that's why I've got my headphones on most of the time. However, whenever I leave for a meeting or lunch or whatever, I usually forget to turn the music off, so that my colleagues are rather annoyed by the hissing sound from my headphones.

What I thought about was this: turn the volume off on screen lock and back on when unlocked. How does one do that on a Windows XP box?

share|improve this question
    
wow what a neat idea... +1 –  Kez Aug 31 '09 at 14:16
    
Excellent idea ! –  ldigas Aug 31 '09 at 14:57

2 Answers 2

up vote 5 down vote accepted

Try MonitorES. You can find more information about this little app on Lifehacker:

Tiny, portable utility MonitorES not only turns off the monitor when you lock your PC, it also pauses almost any media player and even sets your Google and Yahoo IM status to away. We've written about this utility before, but since then it has updated with support for nearly any media player, added support for Yahoo Messenger, and you can now use it to simply pause your media with the Pause key. As before, you simply need to launch the utility, set the options, and the next time you lock your workstation your monitor will turn off, and your media will pause.

share|improve this answer
    
Thanks, exactly what I wanted! –  Nikolai Prokoschenko Aug 31 '09 at 14:29
    
nice find indeed! +1 –  Molly7244 Aug 31 '09 at 14:48
    
Thanks! I had the same problem as rassie :) –  alex Aug 31 '09 at 15:19

This should work too, save the piece of code under e.g. "mute.vbs". When you leave your workplace, double click the file and your Sound is off + your Screen is locked. After your meeting and the login you'll see a Popup, which can turn the Sound on.

On Error Resume Next

set oShell = CreateObject("WScript.Shell")
un_mute()
oShell.Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"

intAnswer = Msgbox("Do you want to unmute?", vbYesNo, "Volume")
if intAnswer = vbYes then
    un_mute()
end if

sub un_mute()

oShell.run"Sndvol32"
WScript.Sleep 1000
oShell.SendKeys"{TAB 2} "
oShell.SendKeys"%{F4}"

end sub

It's not perfect for sure, but works for me. Also it works for every Player under Windows + no additional Software to install ;-)

share|improve this answer
    
i love QD :) +1 –  Molly7244 Aug 31 '09 at 14:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.