Forum Discussion

Madhi's avatar
Madhi
Contributor
14 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.

1 Reply

  • 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.