IDEA: Run on exit -
Welcome Guest.   Make a donation to an author on the site August 29, 2015, 01:08:49 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.
Free Member Kit: Submit Request.
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: Run on exit  (Read 2863 times)
Posts: 25

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.

Global Moderator
Posts: 4,727

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.)

* (192.98 KB - downloaded 241 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 | About Us Forum | Powered by SMF
[ Page time: 0.031s | Server load: 0.08 ]

Share on Facebook
submit to reddit