Roger,

Thank you for your kind words

Please use the "Detect Active Application" script item to detect if a program is running.