action:For_Each
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| action:For_Each [2021/10/08 05:49] – peternlewis | action:For_Each [2024/11/22 07:50] (current) – [See also] peternlewis | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | The For Each action loops over a set of [collections](: | + | The *For Each* action loops over a set of [collections](: |
| It is one of several Actions that _loop_ through a set of other Actions until some criteria is met. | It is one of several Actions that _loop_ through a set of other Actions until some criteria is met. | ||
| - | |||
| - | **Looping Actions** | ||
| - | |||
| - | * [[action: | ||
| - | * [[action: | ||
| - | * [[action: | ||
| - | * [[action: | ||
| - | |||
| Whenever you need to deal with a list of things (lines, files, volumes, numbers, etc), the For Each action is a good place to start. | Whenever you need to deal with a list of things (lines, files, volumes, numbers, etc), the For Each action is a good place to start. | ||
| Line 26: | Line 19: | ||
| - Add a collection by clicking the green + button beside //New Collection// | - Add a collection by clicking the green + button beside //New Collection// | ||
| - When you choose a specific collection, further options may become available. | - When you choose a specific collection, further options may become available. | ||
| - | - Drag one or more actions into the //No Action// (which means no actions have been added yet) area. | + | - Add one or more actions into the //No Action// (which means no actions have been added yet) area. |
| * These actions will operate on each item in the Collection that is stored in the Variable from Step #2 | * These actions will operate on each item in the Collection that is stored in the Variable from Step #2 | ||
| You can break out of the loop, retry this iteration, or skip to the next iteration with the [[actions: | You can break out of the loop, retry this iteration, or skip to the next iteration with the [[actions: | ||
| + | |||
| + | There is an option in the action (gear) ⚙ menu to display the progress of the For Each action (v10.0+). | ||
| ===== Examples ===== | ===== Examples ===== | ||
| Line 48: | Line 43: | ||
| === Actions === | === Actions === | ||
| - | * [[action:For_Each|For Each]] action | + | * [[action:Pause_Until|Pause Until]] action |
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| + | * [[actions: | ||
| * [[: | * [[: | ||
| + | |||
| === Triggers === | === Triggers === | ||
| Line 59: | Line 56: | ||
| * [[trigger: | * [[trigger: | ||
| * [[: | * [[: | ||
| - | |||
| ==== Forum ==== | ==== Forum ==== | ||
action/For_Each.1633672140.txt.gz · Last modified: by peternlewis
