Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As the question says really. The application is on a local Windows 7 machine.

I'm looking for a free application that can do this sort of thing. It should either time when the window is in focus or when the application is running. Thanks.

share|improve this question

migrated from Mar 22 '11 at 14:47

This question came from our site for system and network administrators.

Depending on your situation, this could be overkill. I find AutoIt and similar programs are useful for tasks like this.

share|improve this answer

To expand on Garet's answer:

Depending on how the programs you are looking to restrict are built, you have a few options with AutoIt. Look specifically at the functions WinWaitActive, WinGetProcess, WinClose, WinKill, ProcessClose, TimerInit, TimerDiff, Sleep.

A combination of these will let you see when a specific window opens, time how long it is open, and kill it when it reaches a certain point in time. They will also let you continue to kill it anytime it opens until another specified time period is exhausted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.