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:For_Each [2016/02/24 05:08] AlainLifchitz add link to other action + trigger |
action:For_Each [2016/07/04 02:45] alain add internal links |
||
---|---|---|---|
Line 12: | Line 12: | ||
- {{:action:km-for-each-action-2.png?nolink|}} | - {{:action:km-for-each-action-2.png?nolink|}} | ||
- Enter a variable or select from the pop-up at the end of the //For each// text area. | - Enter a variable or select from the pop-up at the end of the //For each// text area. | ||
+ | * This variable will contain each item in the Collection list as the For Each Action loops | ||
+ | * This can be a new or existing variable, as your needs dictate | ||
+ | * You can then use or process this item as needed | ||
- Add a collection by clicking the green + button beside //New Collection// to select from a list of available collections. You can learn more about the available collections on the [[:Collections]] page. | - Add a collection by clicking the green + button beside //New Collection// to select from a list of available collections. You can learn more about the available collections on the [[:Collections]] page. | ||
- When you choose a specific collection, further options may become available. | - When you choose a specific collection, further options may become available. | ||
- 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 | ||
===== Examples ===== | ===== Examples ===== | ||
Line 31: | Line 35: | ||
===== See also ===== | ===== See also ===== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Actions === | ||
* [[action:Search Variable|action:Search Variable]] | * [[action:Search Variable|action:Search Variable]] | ||
+ | * [[:Actions|See all actions]] | ||
+ | |||
+ | === Triggers === | ||
+ | |||
* [[trigger:Typed String|trigger:Typed String]] | * [[trigger:Typed String|trigger:Typed String]] | ||
+ | * [[:Triggers|See all triggers]] | ||
- | ==== Forum topics ==== | + | ---- |
+ | ==== Forum ==== | ||
- [[https://forum.keyboardmaestro.com/t/text-filtering/2763/14|Text filtering]] | - [[https://forum.keyboardmaestro.com/t/text-filtering/2763/14|Text filtering]] | ||
- [[https://forum.keyboardmaestro.com/t/microsoft-word-make-numbers-in-selectd-text-superscript-without-affecting-the-words/2895/4|Microsoft Word: Make numbers in selected text superscript without affecting the words]] | - [[https://forum.keyboardmaestro.com/t/microsoft-word-make-numbers-in-selectd-text-superscript-without-affecting-the-words/2895/4|Microsoft Word: Make numbers in selected text superscript without affecting the words]] | ||
- [[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]] | ||
- | - [[https://www.google.fr/webhp?aqs=chrome..69i57.14628j0j7&gws_rd=c&ei=_BSVse8Ecb9acLtidAB#q=site:forum.keyboardmaestro.com+For+Each+Item|Keyboard Maestro Forum topics about For Each Item]] | + | - [[https://forum.keyboardmaestro.com/t/for-each-item-difficulty-understanding-action/3162/2|For Each Item]] |
+ | |||
+ | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+For+Each+Item|Keyboard Maestro Forum topics about For Each Item]] |