Hi, basically, I need to know, how I can check if a window is open, and if it is do something.

The window is in another program