In this lesson, we will look at LOOPS. Not only they can be a time saver in writing a script but open up so many possibilities to execute steps and commands repeatedly. We know that scripts are time-savers, but they are also great to execute repetitive tasks accurately. This is one great advantage of loops.
Remember to always have a way for the loop to finish or you will be stuck in an endless loop (been there, done that!)
If this video is causing you issues, here is a copy on YouTube: https://youtu.be/kA7Sl7i6dus (please, do not share)
Just for fun, how would you code a script that would do this kind of pattern?
Just for ideas, I started with a 3600x3600 pixels image and each pink square is 200x200.
The forum thread is here.