Questions tagged [user-inactivity]

Questions related to the detecting or handling of inactivity events by the user.

83 questions
4
votes
3 answers

Is there anyway to detect user inactivity in java?

I am writing a desktop application in which I want to perform an operation if user doesn't use the computer for X number of minutes. Just like auto idle in MSN messager or skype. Any hints?
qasimzee
  • 640
  • 1
  • 12
  • 30
4
votes
1 answer

Inactivity and activity ,application idle , user-inactivity auto logout

After lot of googling and spending 4 hours I guess this is the best way to find user inactive and lock screen. public MainWindow() { InitializeComponent(); var timer = new DispatcherTimer { Interval = TimeSpan.FromSeconds(10)…
sam
  • 151
  • 3
  • 10
3
votes
1 answer

Authlogic automatic logout on timeout

I am using the Authlogic gem in my application, and I need users to be logged out automatically after 15 minutes of inactivity. Can somebody tell me how to do this?
el_quick
  • 4,656
  • 11
  • 45
  • 53
3
votes
1 answer

Detecting app inactivity in a Windows Phone Application efficiently?

How can I detect if the Application has been idle for let's say 30 seconds? I know this is possible by using a DispatcherTimer and then restarting it at PhoneApplicationPage.ManipulationCompleted event? But, I am concerned as this will affect the…
user1705923
3
votes
2 answers

Detect inactivity from a scheduled task on Linux

I need to detect user inactivity on my Linux system, to poweroff it (quite headless wife, and quite expensive electric bills... :-). I need to schedule the script (in crontab), so no X-depending tool will work, I suppose (no $DISPLAY available). Any…
MarcoS
  • 17,323
  • 24
  • 96
  • 174
2
votes
1 answer

scala compile server stopped due to inactivity | intellijIDEA

This never happened as I never turn off my pc. Seeing this message after recent update. IntelliJ IDEA 2022.3 (Community Edition) Build #IC-223.7571.182, built on November 29, 2022 Runtime version: 17.0.5+1-b653.14 amd64 VM: OpenJDK 64-Bit Server VM…
2
votes
6 answers

Javascript disabled after a period of user inactivity

I have built an internal application for our company's users. There is no timeout after user inactivity nor do we want one. Users are complaining that after a certain amount of time (like 30 minutes) of inactivity, the web app starts acting strange…
Steve3p0
  • 2,332
  • 5
  • 22
  • 30
2
votes
2 answers

How do I fade out 1 div and fade in 2 divs, then after 10 seconds of inactivity, fade in the 1st div again, and fade the 2 divs out?

This is my code currently: $(function() { $('#header_left').click(function(){ $('#header_left_info').fadeOut('fast'); $('#header_left').fadeOut('fast'); …
jordsta
  • 53
  • 7
2
votes
3 answers

iOS how to programmatically read device's screen auto-lock timeout time?

I'm creating a method to send debug info to the support team for one of my apps. I have method calls like these: NSString* appVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]; NSString* build = [[NSBundle…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
2 answers

Auto close Adobe Reader after inactivity C++

I am trying to write a small program to keep track of user inactivity and after about 30 minutes kill all running adobe reader applications on a Windows 7 computer. The paychex software we use doesn't allow more than one pay stub open at once so if…
jsnaredude
  • 47
  • 8
2
votes
3 answers

How to detect user inactivity in an Excel workbook

I want to take an action in an Excel workbook macro after a period of inactivity (hide/protect some worksheets). What is the best/simplest way to achieve this? Í'm assuming I'll use Application.OnTime to periodically check if the user has been…
Joe
  • 122,218
  • 32
  • 205
  • 338
2
votes
1 answer

How specifically does one detect that a user is idle on Windows 7?

Given that Outlook runs in most offices, and given that a screensaver may user CPU, or network file copies, or virus scans, or network installs by the admin (granted, that usually happens when you're logged out), and all the myriad other things that…
jcolebrand
  • 15,889
  • 12
  • 75
  • 121
2
votes
1 answer

find out when computer not in use

IS there a way to catch all keyboard and mouse events from all applications running on Windows using .NET? I've found some similar posts, the first being how to do this just for the application you are developing: VB Detect Idle time As well as a…
Dan King
  • 1,080
  • 1
  • 11
  • 28
1
vote
2 answers

How to detect phone inactivity on Android

When my app starts, a splashscreen appears and after this there is a slideshow with images. When user touch a image from slideshow, the app is closed (it is not working in background, it is killed). After that I need to detect phone inactivity to…
Gabrielle
  • 4,933
  • 13
  • 62
  • 122
1
vote
1 answer

Flutter Web Timeout If there is no activity

I am trying to detect the activity of user like Mouse Moving or Typing in Text field or Clicking on screen anywhere. Using Timer Function I can achieve to logout from the Portal if there is no activity for 15 minutes but this functionality is only…