Results 1 to 4 of 4

Thread: Forced hibernation OR run program w/ Power button

  1. #1
    Low Bitrate
    Join Date
    Aug 2006
    Posts
    75

    Question Forced hibernation OR run program w/ Power button

    Hi all.

    I need my computer to do a forced hibernation, can I activate that some how? I have a program that prevents the computer to hibernate but I also have a program that monitors the hibernationfunktion and halt the process when it's started and then shut down the program and then continues w/ the hibernation. At resume the program starts again normally. But hibernation don't even start so the hibernation never begins and the other program can't shut down the program.. By using forced hibernation I think it will work. How can I activate forced hibernation?

    Second solution:
    When I (or the M3-ATX PSU) press the power button I want a program to run, a script that exit the program then hibernates the computer. I have made the script but can't find a solution for how to start the script w/ the power button.

    Please help!

    Best regards L. Kull, Sweden

  2. #2
    Maximum Bitrate DeltaFX's Avatar
    Join Date
    Sep 2004
    Location
    France
    Posts
    499
    Ah... what scripting language ?

    First idea would be a script that starts with windows and does nothings but wait for a WM_HIBERNATE (windows telling its progs to stop/snooze) thus kills the the program that has to be killed.
    Now Galileo is real. Muhahahahaha :p

  3. #3
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    That and this sort of behaviour will only work on XP and below. Vista and 7 both rewrote how hibernate/standby is handled, and once initiated by the user, it cannot be overridden/stopped. Also the time was decreased to less than 2seconds for all programs to get the warning call, do something and save state before windows forces an execution stop.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  4. #4
    Maximum Bitrate DeltaFX's Avatar
    Join Date
    Sep 2004
    Location
    France
    Posts
    499
    True, true....

    Vista on a carputer.... ROFLM
    Now Galileo is real. Muhahahahaha :p

Similar Threads

  1. Replies: 42
    Last Post: 12-11-2009, 02:36 PM
  2. Hardware Review: M3-ATX Power Suply
    By Bimmerstyle in forum The Review Palace
    Replies: 8
    Last Post: 03-05-2008, 05:57 PM
  3. Momentary switch to port replicator power button
    By hardcoreracing in forum Laptops, Netbooks, Tablets, UMPCs, etc.
    Replies: 10
    Last Post: 02-14-2008, 10:31 AM
  4. Relocating computer power button
    By King_Xerxes in forum General Hardware Discussion
    Replies: 8
    Last Post: 02-21-2007, 09:15 PM
  5. Power Button not working?
    By NoTicketsPlease in forum Newbie
    Replies: 5
    Last Post: 02-28-2006, 10:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •