Solved

how to tell is the user is active? mouse/keyboard

Posted on 2011-03-02
4
304 Views
Last Modified: 2012-06-21
how can u tell if a user is active?

if they are moving the mouse or typing? and if they are active show active in a label, and if not then show inactive.

hows this done?
0
Comment
Question by:eNarc
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
mikelittlewood earned 500 total points
ID: 35016579
You sort of want to incorporate the functionality in this question.

http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_21305716.html

Using the solution in the question you could check to see how long it was since the last time the user did anything. Just adjust it for say 15 seconds before you clear out a "is typing" label. Anything below 15 seconds you could probably assume the user is doing something.
0
 
LVL 19

Expert Comment

by:Thommy
ID: 35017150
0
 
LVL 19

Expert Comment

by:Thommy
ID: 35017198
This is a Delphi component  to detect system and application idle times

Delphi DetectIdle component 1
http://www.topshareware.com/Delphi-DetectIdle-component-download-40487.htm
0
 
LVL 5

Author Closing Comment

by:eNarc
ID: 35018272
Perfect
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wininet read php file from internet issue 6 91
Newbie Thread Programming 1 154
Delphi inherited method 6 70
Delphi: Connect to running MS Outlook 4 89
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question