Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. detecting IF screen monitor is ON or OFF

detecting IF screen monitor is ON or OFF

Scheduled Pinned Locked Moved Hardware & Devices
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ALMA_soul
    wrote on last edited by
    #1

    is it posible running windows XP to detect if the screen monitor (any type, size, brand) is connected to the ac power line and for how long it had it been in that state (and keep a log file of all changes of ON-OFF state)

    realJSOPR 1 Reply Last reply
    0
    • A ALMA_soul

      is it posible running windows XP to detect if the screen monitor (any type, size, brand) is connected to the ac power line and for how long it had it been in that state (and keep a log file of all changes of ON-OFF state)

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      Yes, but the monitor would need to have a usb port, and you'd have to know how to detect the monitor via usb, blah blah blah. No, I don't know specifics, but the method I described so poorly seems viable to me.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      S 1 Reply Last reply
      0
      • realJSOPR realJSOP

        Yes, but the monitor would need to have a usb port, and you'd have to know how to detect the monitor via usb, blah blah blah. No, I don't know specifics, but the method I described so poorly seems viable to me.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        S Offline
        S Offline
        Sebastian Schneider
        wrote on last edited by
        #3

        I cannot recall how it is called, but there is a technique to query a monitor for possible resolutions, frequencies, etc. If it is possible to initiate such a check, one might assume that the monitor is off if there is no reply. That, however, ignores old monitors which do not support that mechanism. Othen than that, you could hire someone to sit in front of the monitor and press buttons accordingly.... child labor, etc....

        Cheers, Sebastian -- "If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton

        realJSOPR 1 Reply Last reply
        0
        • S Sebastian Schneider

          I cannot recall how it is called, but there is a technique to query a monitor for possible resolutions, frequencies, etc. If it is possible to initiate such a check, one might assume that the monitor is off if there is no reply. That, however, ignores old monitors which do not support that mechanism. Othen than that, you could hire someone to sit in front of the monitor and press buttons accordingly.... child labor, etc....

          Cheers, Sebastian -- "If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton

          realJSOPR Offline
          realJSOPR Offline
          realJSOP
          wrote on last edited by
          #4

          But he doesn't care about resolutions and frequencies - he wants to determine the current power state (on or off).

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups