Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometimes when I go to sleep I leave the computer playing some music, but I'd like to tell it, once X minutes have passed just mute the volume.

Does anyone know of a program to do so? I'm targeting Windows 7 here but I guess one for Vista will do equally.

share|improve this question
up vote 1 down vote accepted

Personally I'd do this using AutoHotKey to pause my player. Just add a script like this:

^Pause:: ;Activates with Ctrl+Pause, you may want to change this
  Sleep, [time in ms] ; Replace [time in ms] with however long you want it to wait before stopping your music
  Send Pause ; my music player pauses when i hit the "pause" key, so I'd use this, if yours doesn't, try Media_Stop or if you really want to mute, use Volume_Mute

EDIT: just saw this on lifehacker and couldn't help but think of this post, so I'm adding it

share|improve this answer
Thank you very much, that would do perfectly :). – Marta Apr 21 '10 at 9:55

Your Answer


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.