hello
I want to know how to ask if a program is open and if it's true close it

thanks

Clotilde