Forum Discussion

MulgraveTester's avatar
MulgraveTester
Frequent Contributor
6 years ago
Solved

How to avoid "Can't find window..." when testing if sys.desktop.activewindow.exists?

Hi, Occasionally my code crashes when I test if sys.desktop.ActiveWindow.exists because "Cannot find the window with handle xxxxx". The line immediately before the condition is sys.Refresh so I wou...
  • MulgraveTester's avatar
    MulgraveTester
    6 years ago

    I ended up using aqobject.issupported(myObj, "Exists") instead but thanks.