Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
64 views

After updating Kotlin to 2.2.0, my autotest started failing on the start screen with the following error in Espresso class on compose view: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 ...
Red Cape's user avatar
0 votes
0 answers
508 views

I want to send analytics data to server at low priority. My function is: const schedule_serversync = function (deadline) { if (deadline.timeRemaining() > 0) { server_sync(); //async ...
PC.'s user avatar
  • 7,042
3 votes
1 answer
4k views

Auto Shutdown if user is inactive. I am trying to create a one time powershell script to shut down the pc if the user is inactive for a period of time. I have done some looking around but the only ...
eruannaa's user avatar
0 votes
1 answer
231 views

Basically the title, i have a small python script (python 3.9, Windows 10) that i would like to keep running in the background. It is currently listening for keyboard hotkeys and acting like a macro ...
LostExcalibur's user avatar
4 votes
1 answer
4k views

Good evening, I've been trying to achieve something for several days now and I literally don't know what else to try, I've basically tried everything I found online and it still doesn't work but I ...
Louen's user avatar
  • 47
0 votes
1 answer
264 views

I have a GUI that processes messages serially as they arrive and get queued up by several websockets. This function sets up a callback to itself using after_idle to perpetuate the process, like so: ...
KBriggs's user avatar
  • 1,488
0 votes
0 answers
64 views

I am looking for a NodeJS deployment platform. Currently I have the server deployed on Heroku wherein if your server doesn't get a hit in 30 mins, it goes to sleep. Then when the app pings the ...
tester9's user avatar
  • 93
1 vote
0 answers
786 views

Im searching for an example how to deal with idle times in javafx and found this perfect answer Idle time in javafx. But how i can add this in my Controller class because i create all on a Fxml class ...
tbere's user avatar
  • 135
1 vote
1 answer
323 views

The solution given here : Detect if user Idle on windows universal app allows to detect the user idle inside the app. When the user is active elsewhere, the app considers only the activity in the app. ...
loulou's user avatar
  • 21
1 vote
1 answer
90 views

I just started designing some graphics in haskell. I want to create an animated picture with a rotating sphere, so I created an IdleCallback function to constantly update the angle value: idle :: ...
michaelg9's user avatar
20 votes
4 answers
27k views

Im trying to use Espresso to test my UI. When i login into my application, i do a call to Parse API (network call) to verify the username and password. If all is well the user gets directed to a new ...
Dennis Anderson's user avatar
8 votes
1 answer
4k views

I'm trying to make a simple Java transaction app with JavaFX as UI. What I want to do now is to detect user idle state from my application which has 1 primary stage and many scenes. Example : if user ...
ran88's user avatar
  • 105
0 votes
3 answers
84 views

My scenario. A page of my WP8 Silverlight app contains a ListBox control with the ability of item multiselection. When the user tap an item to toggle its selection state, I should perform a long ...
Tecman's user avatar
  • 3,059
0 votes
2 answers
490 views

I want to perform some calculations while the phone is in locked screen mode, regardless if the app is on the foreground or the background. I know that in order to do this, I need to use OnObscured ...
programmer23's user avatar
4 votes
1 answer
516 views

Is it possible in matlab to call a function when the program I'm running is idle? I don't want this to be a parallel process. Also, I would prefer a solution where I could pause and resume the ...
mugetsu's user avatar
  • 4,468
10 votes
1 answer
18k views

What I know about the Application.Idle event is that the application is finishing its processing and is about to enter the idle state. I read somewhere that If you have tasks that you must ...
peter's user avatar
  • 8,714
2 votes
1 answer
2k views

I have a strange issue that I'm not too sure on how to fix or address. I'm writing a mini text editor style application - RichTextBox editor. I need to do some complex parsing after the selection ...
Linda Seacrest's user avatar
4 votes
2 answers
428 views

On my main form, I subscribed to two events: Application.ThreadException and Application.Idle. In theory, any exception that is not caught should get bubbled up to the main form. However, this does ...
sthay's user avatar
  • 495
4 votes
7 answers
6k views

I am doing a delphi application that will run on my pc 24/7 in the background and will check if it has to do some actions or not, wait 30 minutes and check again, and so on. How can I make sure the ...
Sebastian's user avatar
  • 796
0 votes
1 answer
403 views

What process will be pointed by "current" pointer in linux kernel, when CPU load is 0% and there isn't any ready-to-run process? Consider situation without any power-saving. What is the name of this ...
osgx's user avatar
  • 95.3k
0 votes
1 answer
372 views

I have a VideoDisplay that is able to connect to a source and play. After the connection times out I want the connection to be re-established when my play button is clicked. Right now when I reset ...
asawilliams's user avatar
  • 2,948
1 vote
1 answer
970 views

This is my approach : I reserve last time that a user post a postback to server in a session and in every postback subtract this value from current value. Is there a better way for this? I think that ...
masoud ramezani's user avatar
3 votes
2 answers
2k views

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn't mean the ...
Sameet's user avatar
  • 2,211
4 votes
3 answers
3k views

As per MSDN, http://msdn.microsoft.com/en-us/library/ms646302%28VS.85%29.aspx GetLastInputInfo does not provide system-wide user input information across all running sessions. Rather, ...
84 votes
3 answers
46k views

I'm writing a small tray application that needs to detect the last time a user interacted with their machine to determine if they're idle. Is there any way to retrieve the time a user last moved ...
djdd87's user avatar
  • 68.6k