Refer: https://packagecontrol.io/packages/Repeat%20Macro
Sublime has a plug-in to repeat a macro a set number of times or to run it until the end of file.

Technical notes, and other ideas.
Refer: https://packagecontrol.io/packages/Repeat%20Macro
Sublime has a plug-in to repeat a macro a set number of times or to run it until the end of file.