This 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 you can use it as a simple test for the existence of a particular macro.
The general form of this token is:
%MacroNameForUUID%<UUID>%
where <UUID>
is the explicit Macro Universal ID, like “4ADD4CEB-D07C-4095-B06B-D01C48E3D82C”
You can put this token in any Action that has a text field, like a Display Text Action or a Set Variable To Text Action, like this:
However, if you want to use the UUID that is in a Keyboard Maestro Variable, then it will require two Actions, because this token does not directly support the use of Variables:
%%MacroNameForUUID%%%Variable%myUUID%%%
%MacroNameForUUID%4ADD4CEB-D07C-4095-B06B-D01C48E3D82C%
The result of these Actions is: