User Tools

Site Tools


action:If_Then_Else

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
action:If_Then_Else [2016/02/27 12:36]
AlainLifchitz add internal links
action:If_Then_Else [2021/10/12 23:09] (current)
peternlewis
Line 1: Line 1:
-The If Then Else action allows you to choose which of two sets of actions should execute. If certain conditions are met then execute one list of actions. If not, execute another. If there are no conditions set then no actions will execute.+====== ​If Then Else Action ======
  
-{{:​action:​ifthenelse.png|}}+The *If Then Else* action allows you to choose which of two sets of actions should execute. If certain conditions are met then execute one list of actions. If not, execute another. If there are no conditions set then no actions will execute. 
 + 
 +{{:​action:​ifthenelse.png?500|}}
  
 Drag one or more actions into the //No Action// areas. Drag one or more actions into the //No Action// areas.
Line 13: Line 15:
 Add a new condition by clicking the green + button beside //New Condition// to select from a list of available conditions. Add a new condition by clicking the green + button beside //New Condition// to select from a list of available conditions.
  
-Conditions are grouped by category. See the Conditions section for further details. +Conditions are grouped by category. See the [[:Conditions|Conditions]] ​section for further details. 
-  ​*Application + 
-  *Button +~~NOCACHE~~ 
-  *Calculation +<nspages condition -textPages="">​
-  *Clipboard +
-  *Environment Variable +
-  *Found Image +
-  *Key +
-  *Location +
-  *Macro/​Macro Group +
-  *Menu +
-  *Modifiers +
-  *Mounted Volume +
-  *Path +
-  *Pixel +
-  *Script +
-  *Text +
-  *Typed String +
-  *USB Device +
-  *Variable +
-  *Any Window +
-  ​*Front Window +
-  ​*Wireless Network+
  
 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. 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.
Line 43: Line 26:
 ===== See Also ===== ===== See Also =====
  
-==== Documentation ====+=== Actions ​===
  
-* [[action:​Pause|action:​Pause Until Conditions Met]] +* [[action:Pause_Until|Pause Until]] action 
-* [[action:​Until|action:​Execute Action Until Conditions Met]]+* [[action:​For_Each|For Each]] action 
 +* [[action:Repeat|Repeat]] action 
 +* [[action:​Until|Until]] action 
 +* [[action:While|While]] action 
 +* [[action:​Assert|Assert]] action 
 +* [[actions:​Redirect_Control_Flow|Redirect Control Flow]] actions 
 +* [[:​Actions|See all Actions]]
  
 ==== Forum ==== ==== Forum ====
  
 - [[https://​forum.keyboardmaestro.com/​t/​my-variable-thats-set-to-2-is-not-same-as-number-2/​3004/​2|My Variable that's set to 2 is not same as number 2]] - [[https://​forum.keyboardmaestro.com/​t/​my-variable-thats-set-to-2-is-not-same-as-number-2/​3004/​2|My Variable that's set to 2 is not same as number 2]]
- 
- 
- 
action/If_Then_Else.1456594586.txt.gz · Last modified: 2016/02/27 12:36 by AlainLifchitz