action:While
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| action:While [2017/03/01 22:55] – Added section on Exiting the While Loop JMichaelTX | action:While [2021/10/14 04:33] (current) – peternlewis | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This _Action_ repeats a group of [[: | This _Action_ repeats a group of [[: | ||
| + | |||
| + | It is one of several Actions that _loop_ through a set of other Actions until some criteria is met. | ||
| **The _While_ Criteria can be any of these:** | **The _While_ Criteria can be any of these:** | ||
| Line 13: | Line 15: | ||
| **When you insert this _Action_ it appears like this:**\\ | **When you insert this _Action_ it appears like this:**\\ | ||
| {{: | {{: | ||
| - | |||
| - | --- | ||
| ===== How To Setup ===== | ===== How To Setup ===== | ||
| + | |||
| - Select one _While Criteria_ from the _While_ popup list.\\ (default is _all of the following is true_). | - Select one _While Criteria_ from the _While_ popup list.\\ (default is _all of the following is true_). | ||
| - Add one or more new conditions by clicking the green + button next to the //New Condition// to see a popup menu of [[: | - Add one or more new conditions by clicking the green + button next to the //New Condition// to see a popup menu of [[: | ||
| - Select one of these _Conditions_ and enter additional details as needed. | - Select one of these _Conditions_ and enter additional details as needed. | ||
| - Insert one or more [[: | - Insert one or more [[: | ||
| - | |||
| - | --- | ||
| ===== Exiting the While Loop ===== | ===== Exiting the While Loop ===== | ||
| Line 35: | Line 34: | ||
| **THEN the loop will exit.** | **THEN the loop will exit.** | ||
| - | --- | + | You can break out of the loop, retry this iteration, or skip to the next iteration with the [[actions: |
| ===== Example ===== | ===== Example ===== | ||
| {{: | {{: | ||
| - | |||
| - | --- | ||
| ===== Conditions ===== | ===== Conditions ===== | ||
| + | See the [[: | ||
| - | [[: | + | ~~NOCACHE~~ |
| - | | + | < |
| - | *Button | + | |
| - | *Calculation | + | |
| - | *Clipboard | + | |
| - | *Environment Variable | + | |
| - | *[[condition: | + | |
| - | *Key | + | |
| - | *Location | + | |
| - | *Macro/ | + | |
| - | *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 // | After selecting a condition category you can make further choices. For example, if you choose the // | ||
| 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: | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | === Actions === | ||
| + | |||
| + | * [[action:If Then Else|If Then Else]] action | ||
| + | * [[action: | ||
| + | * [[action: | ||
| + | * [[action: | ||
| + | * [[action: | ||
| + | * [[action: | ||
| + | * [[actions: | ||
| + | * [[: | ||
| + | |||
| + | === Conditions === | ||
| + | |||
| + | * [[: | ||
| + | ==== Forum ==== | ||
| + | |||
| + | - [[https:// | ||
| + | |||
| + | - [[https:// | ||
| + | |||
action/While.1488408905.txt.gz · Last modified: by JMichaelTX
