Start small: use a harmless visible target, test once, and keep F8 available.
In this guide
Build the 2 × 3 Example
- Open Task workspace and create a Task flow. Insert a Loop at Top level, select its count mode and set Repetitions to 2. Keep additional random repetitions at 0.
- Select that loop's Child actions as the insertion branch and insert another Loop. Set its repetitions to 3.
- Inside the inner loop, add a Mouse click with one Single click on a harmless fixed target. Add a short Wait so the result is easy to follow.
- Check the tree: outer loop → inner loop → click and wait. Preview the steps, then run once.
With one click in the inner body, two outer rounds × three inner rounds produce six clicks. Moving the click outside the inner loop changes the result. Use the insertion branch and Move controls to check the scope.
Choose Count, Continuous or Duration
Count repeats the child actions a set number of times. Additional random repetitions (0–N) adds a random count; it is different from adding a random wait.
The continuous option is labelled Unlimited loop. It keeps repeating until stopped or constrained by its surrounding task; it does not mean unlimited nesting, steps or computer resources. Duration runs the loop under a time limit.
Decide What Happens at the Deadline
In Duration mode, review Finish the whole iteration at the deadline. With it off, the current iteration is cancelled when the loop reaches its limit. With it on, the current complete iteration finishes before that loop ends.
For example, a one-second loop containing a two-second Wait behaves differently under these policies: cancellation can end that Wait at the deadline; finishing the iteration allows its remaining actions to run. F8 cancels either policy rather than waiting for an ordinary iteration to finish.
Exit One Loop or Stop Everything
Exit current loop leaves the nearest enclosing loop. An outer loop or the steps after it can continue. It is not an emergency stop.
F8 stops all tasks, releases held input and disables macros and schedules. Starting again begins a new run; it is not resuming a paused step. Keep the first tests finite and use a target where an extra click has no harmful effect.
Repeat the Right Part of the Task
For an unchanged recording, Playback options may be all you need. To repeat only part of the work, use Convert to task block and place those steps inside a Loop.
Quick click repetitions cycle the whole selected point list. A workflow loop instead repeats its child actions, which can include waits, keyboard actions and conditions. The configured count is not a guarantee of the rate a target application will accept.
Frequently Asked Questions
Why did my nested loop click more often than expected?
Check which loop contains the click, each loop's repetitions, additional random repetitions and the click action's own count/type. Two outer rounds and three inner rounds with one Single click in the inner body produce six clicks.
Does a duration loop always stop at the exact time limit?
Its deadline policy matters. With Finish the whole iteration at the deadline on, it completes the current iteration. With it off, it cancels the current iteration. Neither is a hard-real-time target-input guarantee.
Does Exit current loop stop every task?
No. It exits the nearest enclosing loop. F8 is the global stop and also disables macros and schedules.
