User Tools

Site Tools


action:Until

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
action:Until [2017/09/07 01:48]
peternlewis
action:Until [2020/07/16 21:18]
JMichaelTX ADD block on looping actions
Line 1: Line 1:
-The Until action executes a list of actions until conditions are met.+====== ​Until Action ======
  
-{{:action:until.png?511|}}+===== 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.\\ 
 +It is one of several Actions that _loop_ through a set of other Actions until some criteria is met. 
 + 
 +**Looping Actions** 
 + 
 +* [[action:​For_Each|For Each]] action 
 +* [[action:​Repeat|Repeat]] action 
 +* [[action:​Until|Until]] action 
 +* [[action:​While|While]] action 
 + 
 + 
 +===== How To Use ===== 
 + 
 +{{:action:until_action_image_--_km_8.2.png?nolink|}}
  
 Drag one or more actions into the //No Action// area. Drag one or more actions into the //No Action// area.
Line 14: Line 29:
  
 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 =====
 +
 +**Example 1**
 +
 +{{:​action:​until.png?​511|}}
 +
 +**Example 2**
 +
 +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 54:
  
 * [[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]]
action/Until.txt · Last modified: 2021/10/14 00:33 by peternlewis