Is there an application for windows that can terminate other programs after a certain period of time.
I would use this program for shutting down movie player when I want to watch only 30 minutes of lecture that lasts an hour for example.
For automating what you are asking and many other things in Windows there is a great and free scripting tool and app called AutoIt v3 which can do what you want with a little bit of basic programming (or a few clicks that can generate that script). You will find a lot of information on their site.
For example to do what you are asking could be as easy as writing (or generating) something close to
$Timer1= TimerInit() While True If TimerDiff($Timer1) > 30*60*1000 Then ProcessClose(<YOUR APP>) EndIf Sleep(1000) WEnd
Autoit is very powerful and you can of course add more logic and function depending on your needs.
Another well known program that can take care of many different kinds of automation is AutoHotkey.
With AutoHotkey you can write a script that is manually executed or is started with Windows and is running while Windows is running. It should meet your requirements because it can...
- check if a program is running or a window is open
- wait for a given duration before doing something specific
- close a window/program
You can also build user interfaces (for example dialog boxes) to interact with so that you can have better control over your scripts.