Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Detecting user activity in Python

Thread Tools

Detecting user activity in Python

Stefan Behrens
Posts: n/a
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

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?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Best way to monitor online user activity? Steven Cheng[MSFT] ASP .Net 2 12-12-2006 02:40 AM
simulate user activity Lars Madsen Perl Misc 2 07-18-2006 08:00 AM
Detecting networking activity zebulon Java 0 05-10-2005 04:48 PM
List of current user activity Christina N ASP .Net 2 09-14-2004 07:46 PM
How to detect user activity - for a screensaver for example. Hans Deragon Python 0 07-20-2003 02:45 AM