Page 5 of 9 FirstFirst 123456789 LastLast
Results 41 to 50 of 84

Thread: Utility to change behavior of ATX power button (e.g.: launch an app)

  1. #41
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by justintime
    Another alternative.

    How about you find a way to differentiate between the 'normal' resumes from hibernate, and the ones you canceled via interceptor?

    For example, before canceling the event with interceptor, write a 'True' to a variable.

    After detecting a resume from hibernate, read the variable, if True then you do no launching, and set the variable to false. If it is false, then you launch the apps...
    You realize you just described the same thing.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  2. #42
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Release

    Here. Source Included.
    Attached Files Attached Files
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  3. #43
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    You can use/modify that to suit your needs, however I have a better idea
    that I may work up later.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  4. #44
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705
    Our posts crossed paths in cyberspace LOL.
    Yeah, it is basically the same thing.

    Quote Originally Posted by frodobaggins
    You realize you just described the same thing.
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  5. #45
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705
    Frodo,

    First of all thanks so much for this!!!!

    Ok, so I gave it a spin on my Capruter (bench setup for now), and it is definitely intercepting and cancelling the hibernate event.

    However, it is not executing anything I set up in the fields. I even tried selecting your very own 1.bat script, and it is not writing to the text file as you'd expect. Tried several other apps, and nothing. I also tried with other events (shutdown for example) and no go.

    I am running a Biostar with Athlon XP2400+, 512MB Ram, and Windows XP SP2.




    Quote Originally Posted by frodobaggins
    Release

    Here. Source Included.
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  6. #46
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705
    NEVERMIND!

    I just realized that you have to close and re-open the app so it loads the new configuration...

    It works like a charm! Thanks you Frodo, this is awesome!

    If you ever plan on adding the 'start upon resume' feature, it would make this so powerful... but it is great as-is. Wow. woohoo!

    Quote Originally Posted by justintime
    Frodo,

    First of all thanks so much for this!!!!

    Ok, so I gave it a spin on my Capruter (bench setup for now), and it is definitely intercepting and cancelling the hibernate event.

    However, it is not executing anything I set up in the fields. I even tried selecting your very own 1.bat script, and it is not writing to the text file as you'd expect. Tried several other apps, and nothing. I also tried with other events (shutdown for example) and no go.

    I am running a Biostar with Athlon XP2400+, 512MB Ram, and Windows XP SP2.
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  7. #47
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705
    Frodo,

    Task Manager reports over 4 MB of RAM usage for the Interceptor. Does this sound right to you? Sounds like a lot to me.

    (removed edit, and placed in new reply)
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  8. #48
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by justintime
    Frodo,

    Task Manager reports over 4 MB of RAM usage for the Interceptor. Does this sound right to you? Sounds like a lot to me.
    No, that's about right for a simple VB app with a form.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  9. #49
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    I'm gonna work up something a little different in a few days, please test it out
    for me when I do.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  10. #50
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705
    Frodo:

    The RESUME box seems to be reflecting whatever you set in HIBERNATE box. The INI file captures the correct path, but the front-end seems to display the wrong variable for the Resume box. Incidentally (and most likely related), RESUME doesn't really seem to be doing anything. Is this the action to execute after coming back from a hibernate?
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

Similar Threads

  1. linking into laptop power button
    By corsamel in forum General Hardware Discussion
    Replies: 22
    Last Post: 04-23-2010, 05:53 AM
  2. Rewiring ATX power button
    By DCC in forum Power Supplies
    Replies: 10
    Last Post: 02-07-2008, 06:17 AM
  3. Replies: 7
    Last Post: 06-15-2004, 10:29 PM
  4. ATX board power??
    By Alphared in forum Power Supplies
    Replies: 9
    Last Post: 01-10-2003, 01:36 PM
  5. PC power button problem
    By BMp3W in forum Power Supplies
    Replies: 4
    Last Post: 10-12-2002, 03:36 AM

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
  •