Auto close a program after a period of inactivity

J

Jeremy P Ferguson

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.
 
A

Anteaus

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top