Simple VBS to exit a program correctly.
Posted on 2006-07-11
I need to have a few workstations logoff after 5m of idle time. I plan on doing this with schedule tasks. I need a VBS to exit a program properly. Its a client that connects to a database, I don't want to force logoff and crash the client out each time since the client itself is based on access and doesn't like being forced to close. The program uses ALT-X to exit each screen, a user can go as deep as 5-7 screens. I think i need a script that would press ALT-X in this program untill it shutsdown.
Is this something thats easy to do? I've used some VBS scripts before but I've never written one.
Thanks for any help !