'Get the info for the first window with the given name without giving it
focus. Do nothing if the name is not found.'

def cmd_info_by_name(self, name):

    for win in self.windows:
        if (win.name == name):
            return win.info()
