IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
A simple sleep timer?, Where can I find one?
krawnight
post Sep 23 2007, 12:20
Post #1





Group: Members
Posts: 6
Joined: 5-September 07
Member No.: 46821



So I was really hoping to find a nice, simple sleep timer option for foobar. I love listening to music while I go to sleep, but it is a waste of electricity to have the computer run all night. I know this is not the first thread to ask for it, but I would love to have some simple addon that just lets me specify a number of minutes to play music, and then say an option for Close Foobar/Hibernate/Shutdown Windows, etc.

Or a more complex addon if need be.

I tried using Foobar Scheduler, but it just doesn't work for me. I can't select any actions (do I actually have to type them all in manually?) and even when I do, it just doesn't seem to work. Furthermore, the project seems abandoned anyway.

Any suggestions people have would be great, thanks!
Go to the top of the page
 
+Quote Post
bimbel
post Sep 23 2007, 12:59
Post #2





Group: Members
Posts: 63
Joined: 29-November 06
From: Germany
Member No.: 38183



What I'm doing to is this:

Download this little collection of windows command line utilities: http://www.microsoft.com/technet/sysintern...psshutdown.mspx

Copy the files to a executable path (C:\Programme\Misc\ or whatever) and then you can call it via commandline!

Go to Start -> Run
and put the following in:

C:\Programme\Misc\psshutdown.exe -f -k -c -t 3600

Will give you this window:


Then turn off your monitor and go to bed! smile.gif

This post has been edited by bimbel: Sep 23 2007, 13:10
Go to the top of the page
 
+Quote Post
eevan
post Sep 23 2007, 13:25
Post #3





Group: Members
Posts: 489
Joined: 9-April 07
From: Belgrade, Serbia
Member No.: 42357



I'm using Switch Off 2.3, nice small free utillitiy (63KB installer) which even has an embedded mini http server, so you can control the utillity, for example, via mobile phone's WAP browser.

But I cannot find it on the web or ftp servers anymore, so if you are interested, send me an PM and I can e-mail the installer to you.


--------------------
If age or weaknes doe prohibyte bloudletting you must use boxing
Go to the top of the page
 
+Quote Post
cristox
post Sep 23 2007, 13:37
Post #4





Group: Members
Posts: 77
Joined: 30-April 07
Member No.: 43066



shutdown.exe is included in xp.
no need to download anything.


Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m computername] [-t xx] [-c "comment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)
Go to the top of the page
 
+Quote Post
2Pacalypse
post Sep 23 2007, 15:53
Post #5





Group: Members
Posts: 257
Joined: 27-September 05
Member No.: 24739



download foo_schedule

edit: sorry didnt read whole post

This post has been edited by 2Pacalypse: Sep 23 2007, 15:53
Go to the top of the page
 
+Quote Post
eevan
post Sep 23 2007, 17:12
Post #6





Group: Members
Posts: 489
Joined: 9-April 07
From: Belgrade, Serbia
Member No.: 42357



QUOTE (cristox @ Sep 23 2007, 14:37) *
shutdown.exe is included in xp.
no need to download anything.

shutdown.exe is ok for immediate shutdown or restart.

Switch Off has the countdown mode, no need to use task scheduler to run the shutdown.exe.



--------------------
If age or weaknes doe prohibyte bloudletting you must use boxing
Go to the top of the page
 
+Quote Post
s33m33
post Sep 23 2007, 17:56
Post #7





Group: Members
Posts: 179
Joined: 4-January 07
Member No.: 39305



DShutdown. i can't imagine life without it smile.gif
Its small, standalone, freeware.

Get it here:
http://dimio.altervista.org/eng/

Go to the top of the page
 
+Quote Post
kanak
post Sep 23 2007, 18:48
Post #8





Group: Members
Posts: 1190
Joined: 12-January 06
From: Cambridge, MA
Member No.: 27052



foo_scheduler is the plugin you're looking for.
Go to the top of the page
 
+Quote Post
cristox
post Sep 23 2007, 20:15
Post #9





Group: Members
Posts: 77
Joined: 30-April 07
Member No.: 43066



QUOTE (eevan @ Sep 23 2007, 18:12) *
shutdown.exe is ok for immediate shutdown or restart.

Switch Off has the countdown mode, no need to use task scheduler to run the shutdown.exe.


Shutdown.exe has a countdown, too.

CODE
-t xx Set timeout for shutdown to xx seconds


READ my first post in this thread.

This post has been edited by cristox: Sep 23 2007, 20:16
Go to the top of the page
 
+Quote Post
eevan
post Sep 23 2007, 21:10
Post #10





Group: Members
Posts: 489
Joined: 9-April 07
From: Belgrade, Serbia
Member No.: 42357



I've been using shutdown.exe before I found Switch Off, but I hated to convert time to seconds. That's why I said that it's good for immediate action.

I should've explained a little more... Sorry

Anyway, s33m33 suggested a program with even more capabilities, it's worth looking at.


--------------------
If age or weaknes doe prohibyte bloudletting you must use boxing
Go to the top of the page
 
+Quote Post
LXtreme
post Sep 23 2007, 21:17
Post #11





Group: Members
Posts: 33
Joined: 13-October 06
From: Ilmenau, Germany
Member No.: 36320



Before i add further suggestions, let's sum up what we found out so far:

1.) Like cristox said, there is no need to download anything, if you want to work with the commandline.
The shutdown.exe shipped with windows does it all

2.) If you (like me) are to lazy to use the commandline, there are a lot of UI-tools, which might be more convenient to use.
DShutdown, Switch Off, PowerOff and ShutdownPro are just a few of them.
Besides providing a GUI for the shutdown they add further possibilities like shutting down at a certain time.
(You can also do this via commandline, but you would have to calculate the seconds left until the wanted shutdown-time by yourself tongue.gif)

other suggestions:

3.) As i do not want dozens of small programms to start with windows, i use my ir-remote-cotrol-software which autostarts anyway.
i predefined a few commandlines (60mins, 30mins, immediatly, ...) using the shutdown.exe and just have to activate them with my remote.

4.) Similar to this you could predefine commandlines for the shutdown.exe in foo_run
to activate them from within foobar.
Additionally you can add buttons to your foobar-layout which use these foo_run-commands.

an idea/suggest/request that just came to my mind:
a shutdown-plugin for foobar (using the shutdown.exe) which offers possibilities like "shutting down after finishing the current playlist". i have no idea if the effort doing this is in any relation to the use of such a plugin...just an idea....
Edit: another feature for a sleep-timer-plugin would be to decreasingly fade down the volume after a certain time to a specific volume before shutting down (like it is possible in mediamonkey e.g.).

This post has been edited by LXtreme: Sep 23 2007, 21:48
Go to the top of the page
 
+Quote Post
kanak
post Sep 23 2007, 23:54
Post #12





Group: Members
Posts: 1190
Joined: 12-January 06
From: Cambridge, MA
Member No.: 27052



QUOTE (LXtreme @ Sep 23 2007, 16:17) *
Before i add further suggestions, let's sum up what we found out so far:
<snip>


You guys are totally overlooking foo_scheduler. It does what you want!
Go to the top of the page
 
+Quote Post
krawnight
post Sep 24 2007, 03:10
Post #13





Group: Members
Posts: 6
Joined: 5-September 07
Member No.: 46821



QUOTE (kanak @ Sep 23 2007, 14:54) *
You guys are totally overlooking foo_scheduler. It does what you want!



It looked like exactly what I wanted, but like I said, I was having issues. I couldn't find a list of actions and apparently had to enter all the actions manually. Even when I did, the timer still wasn't working.

Also, like I said, it seems like it's been abandoned.
Go to the top of the page
 
+Quote Post
kanak
post Sep 24 2007, 03:30
Post #14





Group: Members
Posts: 1190
Joined: 12-January 06
From: Cambridge, MA
Member No.: 27052



QUOTE (krawnight @ Sep 23 2007, 22:10) *
It looked like exactly what I wanted, but like I said, I was having issues. I couldn't find a list of actions and apparently had to enter all the actions manually. Even when I did, the timer still wasn't working.

Also, like I said, it seems like it's been abandoned.


Strange... it's working perfectly fine for me. Here's how i use it:

1. From the "events list", click add "date time event", enter the date and time when i want it to shut down
2. From the "actions list", click add, enter a name for the event e.g. "turn off pc"
3. right click the newly created action ("turn off pc"), under "add action" -> "shutdown" and select "hibernate" (or shutdown if you prefer).

works like a charm!
Go to the top of the page
 
+Quote Post
krawnight
post Sep 30 2007, 05:45
Post #15





Group: Members
Posts: 6
Joined: 5-September 07
Member No.: 46821



QUOTE (kanak @ Sep 23 2007, 18:30) *
QUOTE (krawnight @ Sep 23 2007, 22:10) *

It looked like exactly what I wanted, but like I said, I was having issues. I couldn't find a list of actions and apparently had to enter all the actions manually. Even when I did, the timer still wasn't working.

Also, like I said, it seems like it's been abandoned.


Strange... it's working perfectly fine for me. Here's how i use it:

1. From the "events list", click add "date time event", enter the date and time when i want it to shut down
2. From the "actions list", click add, enter a name for the event e.g. "turn off pc"
3. right click the newly created action ("turn off pc"), under "add action" -> "shutdown" and select "hibernate" (or shutdown if you prefer).

works like a charm!



Damn. I wish I found clear instructions like this when I got the plugin. Thanks a bunch!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd November 2009 - 07:45