My apologies for replying to a somewhat dated thread, but we have a similar feature request.
We would like to be able to launch an application, but based on conditions like hostname and running process or file. We'd like to be able to say if machine with hostname wxyz comes online and it doesn't have process ABC running, launch this script with this parameter.
Thank you!
Bas