How to display number of repeats remaining in a loop?

I have created a macro that repeats for “x” number of times, and it works great. Go me! But I would like for it to continuously countdown and display the number of repeats remaining. So, if I have it set to repeat 5 times, the first time the loop plays, I would like for it to display “5.” Then after the first loop has played, I would like for it to display “4” and so on. Ideally, I’d like for this to include a variable so if I choose a different number of repeats, I would only have to change “x.” Does anyone have any ideas how to accomplish this?

How quickly does it repeat?

This seems to work:

Show Number of Loops.kmmacros (2.9 KB)

Edit: Added notification for the initial loop.

1 Like

Works great! Thanks!

About a minute.

Use the Number Range collection, which can count down as well as up.

2 Likes