Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Auto close a program after a period of inactivity

 
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp configuration manage
View previous topic :: View next topic  
Author Message
Jeremy P Ferguson
Guest





PostPosted: Wed Dec 19, 2007 11:25 am    Post subject: Auto close a program after a period of inactivity Reply with quote

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





PostPosted: Wed Dec 19, 2007 11:25 am    Post subject: Advertisement

Back to top
Anteaus
Guest





PostPosted: Fri Dec 21, 2007 10:00 pm    Post subject: RE: Auto close a program after a period of inactivity Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp configuration manage All times are GMT
Page 1 of 1

 
Jump to:  
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
Computer Forum