docs: def getWindowByTitle(self, wildcard, order=0):
          """ Returns a handle for the first window that matches the provided "wildcard" regex """
          for w in self._get_window_list():
              if "kCGWindowName" in w and re.search(wildcard, w["kCGWindowName"], flags=re.I):
                  # Matches - make sure we get it in the correct order
                  if order == 0:
                      return w["kCGWindowNumber"]
                  else:
                      order -= 1