Forum Discussion
AlexKaras
Champion Level 3
> A proper code for checking this condition would be
Sys.Process("*").WaitWPFObject("HwndSource: DesignerHost", -1).Exists
I think that it should be:
Sys.Process("*").WaitWPFObject("HwndSource: DesignerHost", 0).Exists
As per documentation, timeout that equals to -1 will wait forever, while if timeout is zero, than no wait will occur, just a check of whether or not the sought for object exists.
Everything else said by Robert is perfectly correct.
sree2011
7 years agoContributor
Thank you for your suggestions
Related Content
- 12 years agoRavik