This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
action:Until [2017/09/07 01:48] peternlewis |
action:Until [2019/01/28 16:58] JMichaelTX Clarify when Until Condition is checked |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The Until action executes a list of actions until conditions are met. | + | ====== Until Action ====== |
+ | |||
+ | ===== Definition ===== | ||
+ | |||
+ | The Until action executes a list of actions until conditions are met. The Until action condition is not evaluated UNTIL the end of the Until Loop, so it will always execute all Actions in the _Until_ block at least once. | ||
+ | |||
+ | ===== How To Use ===== | ||
{{:action:until.png?511|}} | {{:action:until.png?511|}} | ||
Line 14: | Line 20: | ||
Conditions are grouped by category. See the [[:Conditions|Conditions]] section for further details. | Conditions are grouped by category. See the [[:Conditions|Conditions]] section for further details. | ||
- | |||
- | After selecting a condition category you can make further choices. For example, if you choose the //Application Condition// you can choose a specific application to be running, or at the front, and so on. | ||
~~NOCACHE~~ | ~~NOCACHE~~ | ||
<nspages condition -textPages=""> | <nspages condition -textPages=""> | ||
+ | |||
+ | After selecting a condition category you can make further choices. For example, if you choose the //Application Condition// you can choose a specific application to be running, or at the front, and so on. | ||
Add further conditions by clicking the green + button again. | Add further conditions by clicking the green + button again. | ||
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. | 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. | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | See this Keyboard Maestro Forum post: [About the "Until" action functioning](https://forum.keyboardmaestro.com/t/about-the-until-action-functioning/12812/2) | ||
===== See Also ===== | ===== See Also ===== | ||
Line 29: | Line 39: | ||
* [[action:If Then Else|If Then Else]] | * [[action:If Then Else|If Then Else]] | ||
- | * [[action:Pause|Pause Until Conditions Met]] | + | * [[action:Pause_Until|Pause Until]] |
* [[action:For_Each|For Each]] action | * [[action:For_Each|For Each]] action | ||
* [[action:Repeat|Repeat]] action | * [[action:Repeat|Repeat]] action | ||
* [[action:While|While]] action | * [[action:While|While]] action | ||
+ | * [[action:Assert|Assert]] action | ||
* [[actions:Redirect_Control_Flow|Redirect Control Flow]] actions | * [[actions:Redirect_Control_Flow|Redirect Control Flow]] actions | ||
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] |