How to implement an infinite loop/infinitely repeat?

Apologies for the basic question. I've seen posts for repeating x # of times but not infinite.

Of course it wouldn't really be infinite, looking to repeat all but the first 2 actions of a macro until a If Then condition is not met which will end the macro. I've browsed the repeat and continue loop actions in the wiki but I don't understand how to work with them.

No worries, we all have to start somewhere :slightly_smiling_face:
The answer is actually right in your question:


Further reading:


Gglick once again, thanks so much!

1 Like

So the condition of my loop is a found image condition, I want the loop to continue until 2 images are not found on a web page.

The macro runs through 2-50 tabs and closes each tab as it goes. The problem is the moment where it's closing the tab and going to the next one, the condition of the 2 images not being found is met and breaks from the loop.

Is there any workaround for this that you know of?

just realized I could just add a pause/pause until at the end of the loop, nevermind!

1 Like