WindowMatcher(program, winName=None, winClass=None, childName=None, childClass=None, matchNum=0, includeInvisible=False, timeout=0, dummyArg=None)¶
Returns a list of window handles matching a number of criteria.
An instance of this class can be used as a better win32.FindWindow replacement. It allows to confine the windows to find by the process name, window name, window class and some other criteria. Wildcards can be used in the search strings. The idea behind this class is to compile the parameters at the instantiation of the class to some fast regular expressions and do the actual enumeration of all desktop windows, if the the instance is called.