Solved

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

Posted on 2011-03-02
4
303 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 78
Delphi procedure  - Unsatisfied forward or external declaration. 2 140
oracle global variables 4 63
Performance of SQL statement 37 97
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
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…
A simple description of email encryption using a secure portal service. This is one of the choices offered by The Email Laundry for email encryption. The other choices are pdf encryption which creates an encrypted pdf of your email and any attachmen…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now