Return Window object if 'title' or its part found in visible windows titles, else return None

    Return only 1 window found first
    Args:
        title: unicode string
        exact (bool): True if search only exact match

def getWindow(title, exact=False):
    """Return Window object if 'title' or its part found in visible windows titles, else return None

    Return only 1 window found first
    Args:
        title: unicode string
        exact (bool): True if search only exact match
    """
    titles = getWindows()
    hwnd = titles.get(title, None)
    if not hwnd and not exact:
        for k, v in titles.items():
            if title in k:
                hwnd = v
                break
    if hwnd:
        return Window(hwnd)
    else:
        return None