|
| View previous topic :: View next topic |
| Author |
Message |
Jeremy P Ferguson Guest
|
Posted: Wed Dec 19, 2007 11:25 am Post subject: Auto close a program after a period of inactivity |
|
|
We have some client / server software that is needed by everyone in the
company but not all at one time to keep cost down we have about 200 users and
30 licences. This works well when users do there job and then shut down the
client side, thing is this is not happening. I am looking for a way of
closing the client automatically if it has been inactive for as 15 minutes. |
|
| Back to top |
|
 |
Google Sponsor

|
Posted: Wed Dec 19, 2007 11:25 am Post subject: Advertisement |
|
|
|
|
| Back to top |
|
 |
Anteaus Guest
|
Posted: Fri Dec 21, 2007 10:00 pm Post subject: RE: Auto close a program after a period of inactivity |
|
|
Key question here is what criteria we use to decide the software is no longer
in use. We could detect a lack of keyboard or mouse input, but of course that
doesn't necessarily mean the user has finished, they may have been
interrupted and have unsaved changes. This might need some thought.
Anyway, given satisfactory criteria, I would suggest launching the app from
an AutoIt script using $pid =Run("executable"), which will allow the script
to record its process identifier. When the inactivity timeout expires, we
force a close of that PID with ProcessClose($pid).
http://autoitscript.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|