Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 13, 2015, 02:13:30 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Run on exit  (Read 2897 times)


  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 25
    • View Profile
    • Donate to Member
IDEA: Run on exit
« 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
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Run on exit
« 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.)
« Last Edit: September 28, 2007, 01:32:37 PM by jgpaiva »