====== MacroNameForUUID Token ======
This [[:Tokens|token]] returns the name of the macro or macro group with the specified **UUID**. If the macro does not exist, then this will return "Not Found" so yo
/ token returns the value associated with how the macro was triggered.
Different ways of triggering the macro will set this field differently.
* You can pass ... ss an explicit value in when using the [Execute a Macro action](action:Execute_a_Macro).
* You can pass an explicit value in when executing the macro via the we
gThisMacroUUID%]]// token returns the UUID of the macro the action is within.
===== See Also =====
====... gInstanceName|%ExecutingInstanceName%]]
* [[token:MacroNameForUUID|%MacroNameForUUID%]]
* [[:Tokens|See all Tokens]]
==== Forum ====
- [[https://forum.keyboardmaestro.com/t/macro-get-selected-macro-uuid-and-name-without-the-clip
ding both the execution instance and the specific macro executing. It can be used to retrieve Local and ... iables via AppleScript and to cancel the specific macro instance.
===== See Also =====
=== Actions ===
* [[action:Cancel_a_Specific_Macro|Cancel a Specific Macro]] action
* [[:Actions|See all Actions]]
==== Tokens ====
* [[token:ExecutingMa
cutingMacroGroup%// token returns the name of the macro group containing the currently executing macro.
The //%ExecutingMacroGroupUUID%// token returns the UUID of the macro group containing the currently executing macro.
===== See Also =====
==== Tokens ====
* [[token:Execu
iables via AppleScript and to cancel the specific macro instances.
===== See Also =====
=== Actions ===
* [[action:Cancel_a_Specific_Macro|Cancel a Specific Macro]] action
* [[:Actions|See all Actions]]
==== Tokens ====
* [[token:ExecutingMa... gInstanceName|%ExecutingInstanceName%]]
* [[token:MacroNameForUUID|%MacroNameForUUID%]]
* [[:Tokens|See a
ngThisMacroGroup%// token returns the name of the macro group the action is within.
The //%ExecutingThisMacroGroupUUID%// token returns the UUID of the macro group the action is within.
===== See Also =====... gInstanceName|%ExecutingInstanceName%]]
* [[token:MacroNameForUUID|%MacroNameForUUID%]]
* [[:Tokens|See all Tokens]]
utingThisMacro%]]// token returns the name of the macro the action is within.
===== See Also =====
====... gInstanceName|%ExecutingInstanceName%]]
* [[token:MacroNameForUUID|%MacroNameForUUID%]]
* [[:Tokens|See all Tokens]]
a unique ID for this Mac. You can test this with Macro Syncing to have your macro behave differently on different Macs.
For example, use the [[action:Set_Clip... "Try" the action to copy it, no need to create a macro, then you can delete the action.
Then paste that
token returns the name of the currently executing macro.
===== See Also =====
==== Tokens ====
* [[tok... gInstanceName|%ExecutingInstanceName%]]
* [[token:MacroNameForUUID|%MacroNameForUUID%]]
* [[:Tokens|See all Tokens]]
returns the unique ID of the currently executing macro.
===== See Also =====
==== Tokens ====
* [[tok... gInstanceName|%ExecutingInstanceName%]]
* [[token:MacroNameForUUID|%MacroNameForUUID%]]
* [[:Tokens|See all Tokens]]
e. Generally this will be the name of the parent macro that was triggered (or “Trying” if the actions ar... gInstanceName|%ExecutingInstanceName%]]
* [[token:MacroNameForUUID|%MacroNameForUUID%]]
* [[:Tokens|See all Tokens]]