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

Last post Author Topic: DONE: Program to Start another program, and then shut down after xx:xx time.  (Read 34,237 times)

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
Downloaded from link.  ini file still appears the same as yesterday.  You made some change to it?

I see the new RunAndKill is version 1.0.2.0, as would be expected today.



c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • Participated in NANY Challenge Six Times
    • Coding Snacks
Yes sorry. I forgot to update the ini file in the .ZIP file... I have updated the .ZIP file and you can DL again.... Should have the extra info below in the .ini file...

#Parameters to pass to the exe
param=test.txt

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
B I N G O !!!

Nuked that baby!!!!

And..., icon in system tray was different this latest time.  Instead of generic, was the icon of program to be nuked.

Great job, Christopher.  Mission accomplished.

Thanks much.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • Participated in NANY Challenge Six Times
    • Coding Snacks
Great! Sorry about all the problems.  :-[

Glad it worked!!!  :Thmbsup:

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
You might want to change the ini file to say time is "third" parameter, instead of "second", for those wanting to use command line.

As a possible enhancement, though not at all necessary, would be to show somewhere how much time remains before program termination.  Just a thought.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • Participated in NANY Challenge Six Times
    • Coding Snacks
Good ideas. I'll add to my list.  :D

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • Participated in NANY Challenge Six Times
    • Coding Snacks
Well. I just made a quick update. :-) If you put your cursor over the icon it will show how much time is left. It doesn't update as showing, will have to move your mouse and hover over again to see the updated time, but I think it works well.

http://starpunch.blogspot.com/2013/06/run-and-kill.html

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
Wow, that was fast.  Sounds super!

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
Skwire, this gem is completed.  Can be moved if you want.

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Skwire, this gem is completed.  Can be moved if you want.

Done, thank you.   ;)  Also, thank you, Chris, for writing this one.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • Participated in NANY Challenge Six Times
    • Coding Snacks
:D sure no problem!

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