Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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…

860 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