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.

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
add comment

1 Answer

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 http://lifehacker.com/5522204/itunes-sleep-timer-stops-playback-after-a-user+defined-time

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

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.