User Tools

Site Tools


action:For_Each

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
Next revision Both sides next revision
action:For_Each [2017/03/05 21:26]
peternlewis [Forum]
action:For_Each [2017/09/07 01:42]
peternlewis [See also]
Line 19: Line 19:
   - Drag one or more actions into the //No Action// (which means no actions have been added yet) area.   - Drag one or more actions into the //No Action// (which means no actions have been added yet) area.
     * These actions will operate on each item in the Collection that is stored in the Variable from Step #2     * These actions will operate on each item in the Collection that is stored in the Variable from Step #2
 +
 +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 ===== ===== Examples =====
Line 26: Line 28:
 {{:​action:​km-for-each-lines-example.png?​nolink|}} {{:​action:​km-for-each-lines-example.png?​nolink|}}
  
-For a complete macro using this Action, see:\\ +For a complete macro using this Action, see [[https://​forum.keyboardmaestro.com/​t/​macro-file-process-lines-in-text-file/​2936|MACRO:​ [FILE] Process Lines in Text File]]
-[[https://​forum.keyboardmaestro.com/​t/​macro-file-process-lines-in-text-file/​2936|MACRO:​ [FILE] Process Lines in Text File]]+
  
-**Example #2:  Get Capture Group for Multiple Matches**\\+**Example #2:  Get Capture Group for Multiple Matches**
  
 See [[:Regular Expressions#​Examples|Regular Expressions (RegEx) Examples]] See [[:Regular Expressions#​Examples|Regular Expressions (RegEx) Examples]]
Line 35: Line 36:
  
 ===== See also ===== ===== See also =====
- 
----- 
  
 === Actions === === Actions ===
  
-* [[action:Search Variable|action:Search Variable]]+* [[actions:Redirect_Control_Flow|actions:Redirect Control Flow]]
 * [[:​Actions|See all actions]] * [[:​Actions|See all actions]]
  
Line 48: Line 47:
 * [[:​Triggers|See all triggers]] * [[:​Triggers|See all triggers]]
  
----- 
  
 ==== Forum ==== ==== Forum ====
action/For_Each.txt · Last modified: 2021/10/12 23:24 by peternlewis