1 Reply Latest reply on Jul 4, 2008 5:04 AM by anirudhs

    Detecting computer wake up from sleep

      Is there a way (i.e., event) in AIR to detect that a computer just woke up from sleep or hibernation?
        • 1. Re: Detecting computer wake up from sleep
          anirudhs Level 2

          A userPresent event is fired on the NativeApplication when the operating system detects mouse or keyboard after an idle period. The period of time that is considered idle is configurable with the idleThreshold property.

          I'm not too sure if it will work in detecting wake from sleep / hibernation unless the idleThreshold property has been crossed. Try it out and do let us know.