Jump to content

Recommended Posts

Posted

Anyone ever had any luck  writing something that is a Program is running in windows and that program is minimized/inactive for x minutes it closes the program?

We have a scheduling program that has 5 licenses and despite repeated reminders people are not closing it when they are done. We have 5 people that check their schedule every morning, print out a report and then go about their day. About 5 other people occasionally need to get in and schedule stuff.

Just found this page so still trying to figure it out.

 

Thanks

Jim

Posted

jimbofoxman,

Some questions:

1 - Does "inactive" mean that no user interaction (mouse or keyboard) has occurred?

2 - Do "minimized" and "inactive" mean the same thing in this context?

3 - What do you mean by "close the program"? (kill, send termination string, etc...)

kylomas

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...