Is there any name of action to repeat some macro till last tab of the window

i want to repeat action from the first left side of tab to last right side of tab.

until now, i just have set repeating action 10 times, just simple one.

but is there any let macro complish action to the last right side of tab and automatically stop?

image

While it's easy enough to repeat a set of actions for as many tabs as you have open in Chrome's frontmost window thanks to KM's CHROMETABCOUNT() function (which eliminates the need for a script like the one @ScottinPollock showed you):

image

The way I would go about this is with the For Each action, which has the advantage of letting you use its variable to select each tab automatically, freeing you from having to manually set Chrome to the leftmost tab before running the macro:

For Each.kmactions (1.7 KB)
image

(I know it says "invalid" in that screenshot, but that's only because I'm using a local variable that hasn't been initialized yet; it works when running the macro)

1 Like

This is improved for the next version:

1 Like

oh! thanks for evertbody's help!