Something like the following: Activate repeat command, it asks how many, enter number, click OK. Next command or key press is executed "number" times.
Why: Editing text document. Created macro mapped to F12, needed to execute the macro 689 times for this document. Lots of pressing F12. Have another document that will need the same macro executed about 10,000 times, probably make a macro Alfa to execute F12 ten times, a macro Bravo to execute Alfa ten times, ...
The macro plugin could be enhanced with a repeat option, but I think a generally available repeat command would be more useful.
How should undo be handled? Undo just the last execution? Or undo all repeats? Maybe explain in the repeat window, suggest saving before repeat.