0 Replies Latest reply on Feb 7, 2011 3:10 AM by Parag.Shah

    Capture system print event and system idle time

    Parag.Shah Level 1

      Hello,

       

      We are creating a desktop widget using AIR. The widget will be docked to the system tray. What we want to achieve is:

       

      1. When the user invokes Print function at the OS level, from any location/appolication, the AIR widget shall listen to it and show an alert.

       

      2. The widget should be able to detect a predefined system idle time (wherein the user is not interacting with the system as a whole - neither mouse nor keyboard inputs - for a predefined interval), and perform an action based on that.

       

       

      How shall it be possible to detect the above 2 scenarios in AIR?

       

      Any help in this regards, will be highly appreciated.

       

      Thanks in advance.

       

      Warm Regards,

       

      Parag