DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [request] timed self closing program  (Read 7,926 times)

ingkiller1

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
[request] timed self closing program
« on: August 29, 2008, 03:16 AM »
It would be great if anyone knows of a program or can make a program that simply loads at system startup and closes itself after a certain amount of time. It would also be great if it could run from the system tray. It doesn't need to control anything other than loading and closing itself. No GUI is needed other than a timer setting. The main thing is that it needs to start and close completely on its own.

Thanks,
ingkiller1

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: [request] timed self closing program
« Reply #1 on: August 29, 2008, 03:37 AM »
you can get this if you insert a Sleep command in an AHK script. just not sure how useful it is. :)

Code
#SingleInstance force
#NoEnv

Sleep, 60000 ;wait for 1 minute
Return

Original address: https://www.donationcoder.com/forum/index.php?topic=14619.0