?
Solved

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

Posted on 2011-03-02
4
Medium Priority
?
308 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
mikelittlewood earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

771 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