I come from Composite, I try to write script to close the error dialog, but it can recognize my dialog using autowin.findwindow();
please see my script;
windowc = autowin.findWindow(rc.lookup("titlechild"), 0)
if windowc == None:
rc.logMessage("Couldn't find windowc with title: '" + rc.lookup("titlechild") + "'.", report=0)
Follow is my log ,
Are there any method or something else to deal with my case?