Detecting user activity in Python

Discussion in 'Python' started by Stefan Behrens, Jul 9, 2003.

  1. Hi all,

    does anyone know a way to detect whether the user is "active"
    at the desktop?

    What I mean is, whether he/she is actively using the machine
    by typing or moving the mouse. What I am looking for is some
    kind of trigger to subscribe for. I'd need to distinguish cases
    where the screen is locked and someone just touched the mouse
    unwantedly.

    I rather doubt that such functionality is in Python itself, i.e.
    can be used platform independently. So in that case, has anyone
    examples of how to do that in native C++ for Windows and Linux?

    TIA

    /Stefan.
    Stefan Behrens, Jul 9, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christina N

    List of current user activity

    Christina N, Sep 14, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    402
    Christina N
    Sep 14, 2004
  2. zebulon

    Detecting networking activity

    zebulon, May 10, 2005, in forum: Java
    Replies:
    0
    Views:
    292
    zebulon
    May 10, 2005
  3. Hans Deragon
    Replies:
    0
    Views:
    401
    Hans Deragon
    Jul 20, 2003
  4. Steven Cheng[MSFT]

    RE: Best way to monitor online user activity?

    Steven Cheng[MSFT], Dec 8, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    1,167
    Steven Cheng[MSFT]
    Dec 12, 2006
  5. Lars Madsen

    simulate user activity

    Lars Madsen, Jul 16, 2006, in forum: Perl Misc
    Replies:
    2
    Views:
    241
    Lars Madsen
    Jul 18, 2006
Loading...

Share This Page