Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 05, 2015, 02:49:13 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: Faster boots combining hibernate and restart (Boot Snooze)  (Read 72648 times)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #75 on: February 06, 2010, 11:39:56 AM »
In support of my comment above, I do realise that that limitation will limit Boot Snooze's functionality for some. 

mazzthepianoman

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #76 on: February 06, 2010, 01:00:23 PM »
Any chance of adding command line support? I use a batch file at night to run a lot of utilities then shutdown. However if I could have it run Boot Snooze at the end instead automatically it would be a huge time saver.

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #77 on: February 06, 2010, 02:49:47 PM »
Is Boot Snooze an AHK app? Will you be releasing the source script?

I am still keen to understand why my PC will not Hibernate / Standby when initiated by BS, but will if performed manually. It seems odd that no-one else seems to be having this issue!

Perhaps a look at the source might allow me to do some experimenting of my own?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #78 on: February 06, 2010, 03:02:41 PM »
Yes, it's an AHK application.  The main bit for the standby/hibernate is a simple one-liner:

Code: AutoIt
  1. ; Suspend_Method of 0, Suspend
  2. ; Suspend_Method of 1, Hibernate
  3. DllCall( "PowrProf\SetSuspendState", "int", Suspend_Method, "int", 0, "int", 0 )
  4.  

This DLL call is described in the AHK help file under the Shutdown command.  If you can figure out the issue on your system, I'll try to implement any fix you come up with.

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #79 on: February 06, 2010, 04:13:23 PM »
Thanks for the info (and continued interest!)

The curious thing is that if I copy this command into an AHK script and run it, the system hibernates just fine! So I am now very confused as to what is going on!!

Could it be that the value of Suspend_Method is getting lost / being corrupted along the way?
Or that the command is not being executed for some reason, and that BS simply closes / crashes?

Not sure how to test these ideas... do you have any thoughts.?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 35,013
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #80 on: February 06, 2010, 04:27:31 PM »
maybe it has to do with the permissions of the program being different when run manually vs. run at startup?

wep

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 31
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #81 on: February 06, 2010, 04:51:45 PM »
.
« Last Edit: February 06, 2010, 04:59:01 PM by wep »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #82 on: February 06, 2010, 05:35:27 PM »
@Ampa:  I've sent you a PM with a link to a private test build.  Let me know what you find, thanks.

mazzthepianoman

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #83 on: February 07, 2010, 02:49:52 AM »
What is the Run Once .reg key Boot Snooze uses for running hibernate after a delay? I am thinking I can use this to add the reg key during a shutdown batch script I use then have the script restart instead when complete essentially automating Boot Snooze after my batch defrags, runs ccleaner, etc.

MerleOne

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 941
  • 4D thinking
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #84 on: February 07, 2010, 04:13:01 AM »
Hi, I have a question : when I activate BootSnooze, after reboot, my XP Home PC stays on the logon screen and doesn't hibernate.  Its only when I log on that the bootsnooze window opens and hibernation starts after the set up delay. Is there a way to still get the hibernation without logging on ?
.merle1.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #85 on: February 07, 2010, 08:21:59 AM »
What is the Run Once .reg key Boot Snooze uses for running hibernate after a delay? I am thinking I can use this to add the reg key during a shutdown batch script I use then have the script restart instead when complete essentially automating Boot Snooze after my batch defrags, runs ccleaner, etc.

FWIW, I'll be adding full commandline control to Boot Snooze soon.

Hi, I have a question : when I activate BootSnooze, after reboot, my XP Home PC stays on the logon screen and doesn't hibernate.  Its only when I log on that the bootsnooze window opens and hibernation starts after the set up delay. Is there a way to still get the hibernation without logging on ?

No, there isn't (at least from Boot Snooze).  There are several ways to auto-login to your computer, though.  TweakUI is one...but that decision is up to you.

MerleOne

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 941
  • 4D thinking
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #86 on: February 07, 2010, 08:29:27 AM »
No, there isn't (at least from Boot Snooze).  There are several ways to auto-login to your computer, though.  TweakUI is one...but that decision is up to you.

OK, thanks for the clarification.
.merle1.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,303
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #87 on: February 07, 2010, 08:29:52 AM »
FWIW, I'll be adding full commandline control to Boot Snooze soon.
While you're at it please try to remember that it (my copy at least) still doesn't brew my morning coffee!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #88 on: February 07, 2010, 08:35:23 AM »
While you're at it please try to remember that it (my copy at least) still doesn't brew my morning coffee!

It's on the ToDo.   :P

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #89 on: February 08, 2010, 02:02:40 PM »
Website | Download
v1.0.4 - 2010-02-08
    + Added commandline support.  REQUIRED parameters are:
        mode=[reboot|suspend]      ('reboot' will reboot and then go to the hibernate/standby delay timer.
                                    'suspend' will skip the reboot and go straight to the hibernate/standby delay timer)
        method=[hibernate|standby]
        bdelay=#                   (where # is the number of minutes to delay BEFORE rebooting)
        adelay=#                   (where # is the number of minutes to delay AFTER rebooting)
       
        e.g.:   c:\path\to\BootSnooze.exe mode=reboot method=hibernate bdelay=0 adelay=5
       
    ! Fixed a timing issue where Boot Snooze wouldn't hibernate/standby on some systems.
      (Thanks, Ampa)

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #90 on: February 08, 2010, 03:50:40 PM »
Excellent update - now does everything, for everybody!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #91 on: February 08, 2010, 03:53:44 PM »
Thanks...I just hope that that latest update didn't break anything for anybody.  =]

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,303
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #92 on: February 08, 2010, 07:42:50 PM »
Thanks...I just hope that that latest update didn't break anything for anybody.  =]
I  was so astonished at your dexterity that I dropped my DC mug and it shattered -- does that count?  ;)

Perry Mowbray

  • N.A.N.Y. Organizer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,809
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #93 on: February 08, 2010, 08:14:58 PM »
Thanks...I just hope that that latest update didn't break anything for anybody.  =]
I  was so astonished at your dexterity that I dropped my DC mug and it shattered -- does that count?  ;)

Was that because of the coffee??

skwire: you might have a bug in the coffee process  :'(

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #94 on: February 08, 2010, 08:26:31 PM »
* skwire goes and gets another coffee for testing purposes. 

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,303
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #95 on: February 08, 2010, 11:45:43 PM »
* skwire goes and gets another coffee for testing purposes. 

What a grind!

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,202
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #96 on: February 09, 2010, 03:22:11 PM »
* skwire goes and gets another coffee for testing purposes. 

What a grind!

You've obviously got a mill-ion puns.  Man that is one heavy mug though. I heard the Governor of California requested a pair so he could work out without being such a dumb bell.


cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,303
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #97 on: February 09, 2010, 05:37:17 PM »
Quote from: MilesAhead
he could work out without being such a dumb bell
Probably training for a bout in the ring.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,202
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #98 on: February 09, 2010, 06:48:31 PM »
Quote from: MilesAhead
he could work out without being such a dumb bell
Probably training for a bout in the ring.

Hmmmmm, don't get it. Guess I have to let it percolate for a bit. :)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,303
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze)
« Reply #99 on: February 09, 2010, 09:52:36 PM »
Hmmmmm, don't get it.
Yeah, well, when it comes to the halt and the lame I'm full astern both  :)