Forum Discussion

Madhi's avatar
Madhi
Contributor
15 years ago

Window Caption

How to check if a required window is open or not.

Sys.Process("App").WPFObject("HwndSource: EngagementHost", "TestWndCaption")

I need to check if Window with TestWndCaption is open or not.
  • Hi,



    Use the WaitWPFObject method (see the "WaitWPFObject Method" help topic). Also, I recommend that you read the "Waiting for a Process or Window Activation" help topic.