'Run a recorded macro.'

def run_macro(self, win_id, register):

    if (register not in self._macros):
        raise cmdexc.CommandError("No    macro    recorded    in    '{}'!".format(register))
    commandrunner = runners.CommandRunner(win_id)
    for _ in range(self._macro_count[win_id]):
        for cmd in self._macros[register]:
            commandrunner.run_safely(*cmd)
