Solved

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

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

14 Experts available now in Live!

Get 1:1 Help Now