This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
action:Repeat [2020/07/16 21:17] JMichaelTX ADD block on looping actions |
action:Repeat [2023/09/15 02:25] (current) peternlewis |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | The **Repeat [[:Actions|Action]]** allows you to repeat a sequence of sub-actions as many times as you like.\\ | + | The **Repeat [[:Actions|Action]]** allows you to repeat a sequence of sub-actions as many times as you like. |
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** | + | The repeat count can be a simple number, or you can use a variable or other calculation in the field (as with most all numeric fields in Keyboard Maestro, simply start typing and the field will expand to make room for more than a number). |
- | * [[action:For_Each|For Each]] action | + | You can break out of the loop, retry this iteration, or skip to the next iteration with the [[actions:Redirect_Control_Flow|Redirect Control Flow]] actions. |
- | * [[action:Repeat|Repeat]] action | + | |
- | * [[action:Until|Until]] action | + | |
- | * [[action:While|While]] action | + | |
- | + | ||
- | + | ||
- | The repeat count can be a simple number, or you can use a variable or other calculation in the field (as with most all numeric fields in Keyboard Maestro, simply start typing and the field will expand to make room for more than a number). | + | |
- | You can break out of the loop, retry this iteration, or skip to the next iteration with the [[actions:Redirect_Control_Flow|actions:Redirect Control Flow]] actions. | + | There is an option in the action (gear) ⚙ menu to display the progress as the action executes (v11.0+). |
===== See Also ===== | ===== See Also ===== |