LiteRunner

LiteRunner will execute a bang command or an executable every time it sees that one of the specified applications has been launched and/or closed. It was originally created by MrJukes and later modified by ilmcuts and myself.

LiteRunner 2.2 (8 kB) (source)