I have a routine that calls an external program using the shell command. That part is no problem.

But, is there a way to determine if the program is already open? If yes then make it the active window and come to the foreground. If no then open it.

Thanks.