Suppose caret is on the line
10 and I've recorded macros
I need to replay macros until line 25. If I know that macros move caret one line per execution, I can calculate that it should be executed
25 - 10 = 15 times.
So the command will be
But is it possible to use something like 'until line':