Jump to content

[Lf] Program For Music With Sleep Timer.


Solomun

Recommended Posts

Hello there guys, i was wondering if there is any program for music that has the option to set it close after x minutes. Every night when i go to bed i want to listen to some music before i sleep, then i want the music to stop :P. I know that i can set my PC to shutdown, but i dont want to shutdown it... If u know any programs with this option, please let me know. :)

 

I tried so far:

Windows media player

Winamp

BSplayer

 

I searched in google, but didnt find anything...

Edited by Solomun
Link to comment
Share on other sites

EDIT: (For less compicated stuff)

 

Before u go to sleep just run this bat

@ECHO OFF
timeout 5                                      //time set to seconds
taskkill /im notepad++.exe /f                 //Kill the exe
Edited by bravetobe
Link to comment
Share on other sites

 

EDIT: (For less compicated stuff)

 

Before u go to sleep just run this bat

@ECHO OFF
timeout 5                                      //time set to seconds
taskkill /im notepad++.exe /f                 //Kill the exe

 

I made this bat by myself and seems to work... ty for help anyway!

ping 127.0.0.1 -n 1800 > nul
TASKKILL /F /IM "wmplayer.exe"
:: 1800 = 30 mins
:: 900 = 15 minser
:: 1200 = 20 mins
Edited by Solomun
Link to comment
Share on other sites

 

I made this bat by myself and seems to work... ty for help anyway!

ping 127.0.0.1 -n 1800 > nul
TASKKILL /F /IM "wmplayer.exe"
:: 1800 = 30 mins
:: 900 = 15 minser
:: 1200 = 20 mins

 

lol

Link to comment
Share on other sites

If someone wants to do it in C,does fopen fclose work? DansGame ... I might did something wrong with the pointers  :rage:

fopen is for reading the files, not for executing.

Link to comment
Share on other sites

fopen is for reading the files, not for executing.

f** C  :you serious?: , java 4 lyfe

(i was trying to open the notepad and write ,thats why even my example was notepad /++ anyway)

Edited by bravetobe
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...