How to detect if window is open ?[resolved]

Printable View