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:39]
AlainLifchitz repair broken 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 14: Line 16:
  
 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.
-  *[[condition:​Application|Application]] + 
-  ​*[[condition:​Button|Button]] +~~NOCACHE~~ 
-  *[[condition:​Calculation|Calculation]] +<​nspages ​condition ​-textPages="">​
-  *[[condition:​Calculation|Clipboard]] +
-  *[[condition:​Environment_Variable|Environment Variable]] +
-  *[[condition:​Found_Image|Found Image]] +
-  *[[condition:​Key|Key]] +
-  *[[condition:​Location|Location]] +
-  *[[condition:​Macro|Macro/​Macro Group]] +
-  *[[condition:​Menu|Menu]] +
-  *[[condition:​Modifiers|Modifiers]] +
-  *[[condition:​Mounted_Volume|Mounted Volume]] +
-  *[[condition:​Path|Path]] +
-  *[[condition:​Pixel|Pixel]] +
-  *[[condition:​Script|Script]] +
-  *[[condition:​Text|Text]] +
-  *[[condition:​Typed_String|Typed String]] +
-  *[[condition:​USB_Device|USB Device]] +
-  *[[condition:​Variable|Variable]] +
-  *[[condition:​Any_Window|Any Window]] +
-  *[[condition:​Front_Window|Front Window]] +
-  *[[condition:​Wireless_Network|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.1456594768.txt.gz · Last modified: 2016/02/27 12:39 by AlainLifchitz