TAppKiller

This component terminates an application after a specified number of minutes
Download

TAppKiller Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Daniel J. Wojcik
  • Operating Systems:
  • Windows All
  • File Size:
  • 34 KB

TAppKiller Tags


TAppKiller Description

The TAppKiller Delphi Component terminates an application after a specified number of minutes of no activity in the application. Writing applications in a corporate environment, I've noticed that some people start apps when they come in to work in the morning and leave the apps running all day long, whether they are actively using them or not. This isn't necessarily a problem...usually...most of the time. But when I've just finished writing a newer version of the app, and would like to place it on the server, I can't because the file is in use. Hence, TAppKiller, a component that terminates an application after a set time of no activity. Properties Active -determines whether the application will terminate on timeout. This does not start the timeout clock. Use the Start procedure to do that. default : False CheckKeys -if True, will start the timeout each time a key is pressed. default : True CheckMouse -if True, will start the timeout each time a mouse buttonis clicked. default : True IdleLimit -the number of minutes to allow the application to sit idle before it terminates. default : 60 minutes WarnAt -the number of minutes before the timeout period ends to fire the OnWarn event. default : 5 minutes Methods Start -sets Active to True, and starts the timeout clock Stop -sets Active to False. Start must be used to restart the timeout process. Events OnStart -fires when the timeout process is started. OnWarn -fires when the WarnAt time is reached. Usage - Drop the component on the main form. In the form's OnCreate or OnShow event, use the .Start procedure to begin the countdown. - AppKiller will monitor the main form and all child forms for keyboard and mouse activity, restarting the countdown after each keypress or mouseclick.


TAppKiller Related Software