This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
actions:Redirect_Control_Flow [2017/09/07 01:37] peternlewis created |
actions:Redirect_Control_Flow [2024/10/20 22:28] (current) peternlewis |
||
---|---|---|---|
Line 6: | Line 6: | ||
* Cancel All Other Macros — Cancel all macros except this macro instance. | * Cancel All Other Macros — Cancel all macros except this macro instance. | ||
* Cancel This Macro — Cancel this macro and any macros that executed this macro. | * Cancel This Macro — Cancel this macro and any macros that executed this macro. | ||
- | * Cancel Just This Macro — Cancel just this macro, continue executing the macro that executed this macro. | + | * Cancel Just This Macro — Cancel just this macro, continue executing the macro that [[action:Execute_a_Macro|executed]] this macro (use [[action:Return_from_Subroutine|Return from Subroutine]] for macros executed by [[action:Execute_a_Subroutine|Execute a Subroutine]]). |
+ | * Cancel a Specific Macro (v9.0+) — Cancels a specific macro instance (from the [[token:ExecutingInstance|%ExecutingInstance%]] or [[token:ExecutingInstances|%ExecutingInstances%]] tokens). | ||
+ | * Forum example: [How To Stop a Specific Instance of a Running Macro](https://forum.keyboardmaestro.com/t/how-to-stop-only-this-macro-not-all/17263) | ||
+ | * [[https://forum.keyboardmaestro.com/t/cancel-a-specific-macro-action/15003/5?u=jmichaeltx|See another example here]]. | ||
* Retry This Loop — Skip to the start of this loop and continue executing. | * Retry This Loop — Skip to the start of this loop and continue executing. | ||
* Continue Loop — Skip to the end of this loop and continue executing, possibly looping. | * Continue Loop — Skip to the end of this loop and continue executing, possibly looping. | ||
* Break From Loop — Cancel execution of the current loop, continue executing after the loop | * Break From Loop — Cancel execution of the current loop, continue executing after the loop | ||
- | Whichever action you choose you can still select one of the others from the pop-up. | + | Whichever action you choose you can still select one of the others from the pop-up menu. |
===== See Also ===== | ===== See Also ===== | ||
- | === Actions === | + | ==== Actions ==== |
+ | * [[action:If Then Else|If Then Else]] | ||
+ | * [[action:Pause_Until|Pause Until]] | ||
+ | * [[action:For_Each|For Each]] | ||
+ | * [[action:Repeat|Repeat]] | ||
+ | * [[action:Until|Until]] | ||
+ | * [[action:While|While]] action | ||
+ | * [[action:Assert|Assert]] | ||
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] | ||
- | === Tokens === | + | ==== Tokens ==== |
* [[token:ExecutingMacro|%ExecutingMacro%]] | * [[token:ExecutingMacro|%ExecutingMacro%]] | ||
Line 26: | Line 36: | ||
* [[token:ExecutingThisMacro|%ExecutingThisMacro%]] | * [[token:ExecutingThisMacro|%ExecutingThisMacro%]] | ||
* [[token:ExecutingThisMacroUUID|%ExecutingThisMacroUUID%]] | * [[token:ExecutingThisMacroUUID|%ExecutingThisMacroUUID%]] | ||
+ | * [[token:ExecutingInstance|%ExecutingInstance%]] | ||
+ | * [[token:ExecutingInstances|%ExecutingInstances%]] | ||
* [[:Tokens|See all Tokens]] | * [[:Tokens|See all Tokens]] | ||
Line 39: | Line 51: | ||
- [[https://forum.keyboardmaestro.com/search?q=Break From Loop|Keyboard Maestro Forum topics about Break From Loop]] | - [[https://forum.keyboardmaestro.com/search?q=Break From Loop|Keyboard Maestro Forum topics about Break From Loop]] | ||
- |