Results 1 to 9 of 9

Thread: Monitor Power Management

  1. #1
    Join Date
    May 2004
    Posts
    2,577

    Default Monitor Power Management

    I just recently got around to trying this feature out (I kind of forgot about it), and it seems that my monitor will go into sleep mode, but immediately turns back on. I think I may have had this problem in the past, but I can't remember why or how it was resolved. Has anyone else here had the same problem?

  2. #2
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    if you use a keyboard event to put it into sleep mode, it will come back out again. How are you triggering the action?
    Ron
    No support through PM

  3. #3
    Join Date
    May 2004
    Posts
    2,577

    Default

    Yes, it was a keyboard event (specifically the sleep button). Why does that happen? Is there a simple explanation?

  4. #4
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    yeah, Windows simply wakes up the monitor because it detected keyboard activity.

    edit: Maybe if you use the <UP> event instead of the <down> it might work.
    Ron
    No support through PM

  5. #5
    Join Date
    May 2004
    Posts
    2,577

    Default

    Strange, I put a delay in before it (as a macro), and it works with every key EXCEPT the one I want to use (it's the sleep button on my keyboard).
    When I press the key I get the UP and DOWN for 5F00000E, but then it says OnQuerySuspend immediately afterwards in the logger.
    No big deal, just that it would be nice to have the sleep button set off my sleep mode macro to turn off my screen, TV and lights.

  6. #6
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    Here is an idea. Use a CreateTimer to fire an event a little 1/2 second or so after the keypress. That might fool windows into thinking no key was pressed.
    Ron
    No support through PM

  7. #7
    Join Date
    May 2004
    Posts
    2,577

    Default

    I found the solution. It was kind of a random shot in the dark, but it works.
    First I mapped the keypress as STANDBY. Next I made a macro with a delay of 200 milliseconds right before the "turn off monitor" Monitor Power Management command, and then assigned the event STANDBY to it. Then I set the modifiers as both UP and DOWN.
    Works like a charm.

  8. #8
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    Great.
    Ron
    No support through PM

  9. #9
    Join Date
    May 2004
    Posts
    2,577

    Default

    It stopped working. It seems quite inconsistent.

Posting Permissions

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