Welcome Guest.   Make a donation to an author on the site September 30, 2014, 08:55:38 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: Run on exit  (Read 2659 times)
johnnyzero
Participant
*
Posts: 24

View Profile Give some DonationCredits to this forum member
« on: September 28, 2007, 12:03:02 PM »

I'm trying to find some kind of utility that will monitor a specific process (app, window?) and run another program when the first application is closed.

Here's what I'm trying to do: run a specific backup utility (w/ some command line arguments) whenever my client quits Thunderbird.

Any input/advice will be much appreciated.

best,
JohnB
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: September 28, 2007, 01:30:18 PM »

Here's one solution for your problem:
I've made one ahk script that accepts 2 command line parameters: the first program and the second program.
It'll launch the first program, and when that program is closed, it'll launch the second one.
I've included a demo shortcut that demonstrates how to use this program.

So, configure the shortcut properly and just have your client open thunderbird through this it.

(the program is attached to this post, both in source-code and compiled version.)

* RunWait.zip (192.98 KB - downloaded 234 times.)
« Last Edit: September 28, 2007, 01:32:37 PM by jgpaiva » Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.024s | Server load: 0.46 ]