PDA

View Full Version : Windows 7 Sleep at DVD Menu?



tesco
08-14-2009, 08:05 PM
I have windows7 set to automatically go to sleep after 3 hours of no activity.
It works fine for when I go to bed with a film/show playing onto my tv from the computer.
But if it's a DVD then the computer never goes to sleep.
I'm guessing it's because when the movie ends the player (Windows Media Player) goes back to the DVD menu, which it considers to be "playing a video file" so it won't let the computer go to sleep.

Any workarounds for this? (I like windows media player, I don't want to switch to something else).

{I}{K}{E}
08-14-2009, 09:26 PM
WMP doesnt have an auto-close option...

Don't know if it's works with Win7:

you could try NirCmd (http://www.nirsoft.net/utils/nircmd.html) (freeware)


This command closes Windows Media Player after 15 minutes:

NirCmd.exe cmdwait 900000 win close ititle "Windows Media Player"


win close ititle: Closes the desired window by specifying a sequence of characters that exists in the window title.

Skiz
08-14-2009, 09:31 PM
How about a sleep timer plugin for WMP?

http://www.codeproject.com/KB/cpp/Mpst.aspx

{I}{K}{E}
08-14-2009, 09:59 PM
How about a sleep timer plugin for WMP?

http://www.codeproject.com/KB/cpp/Mpst.aspx

Nice find.
4 year old tool. small chance it will work with WMP11/Win7

tesco
08-14-2009, 10:04 PM
How about a sleep timer plugin for WMP?

http://www.codeproject.com/KB/cpp/Mpst.aspx
Thanks.

Just installed.
Seems to work.

Looking for something I wouldn't have to set though. But I guess this will work for now.


edit: Spoke too soon. It doesn't work for DVDs. They just go back to the menu and the "timer" doesn't do anything. It again only works for regular media files.