For 20 minutes in a process of VB code

If a a.exe program to open after 20 minutes, did not use the mouse and keyboard to operate it, and at the same time in the operation of other software, but also to end the a.exe process.
Note: if the a.exe hanging, in 20 minutes at some point operation over it, stop time calculation and end, until no operating it, time to calculate to 20 minutes after didn't handle it, on the end of a.exe. Please enlighten master VB code.

Started by Shelley at December 13, 2016 - 5:29 PM

Windows API not only the mouse operation judgment for global, not on whether "a program operation" judgment.

According to your needs, more complex, need to use API Hook.

Posted by Z at December 20, 2016 - 6:10 PM

So here to ask ah, please enlighten´╝ü

Posted by Shelley at December 23, 2016 - 7:07 PM

The most simple way, can the window Timer timing check active (for example 100 milliseconds) is a a.exe window

Posted by Z at December 29, 2016 - 7:37 PM

What to do with.

Yrsaini please enlighten.

Posted by Tobias at December 31, 2016 - 7:39 PM