No need for the XML in this case.
The AppleScript do script command takes one of:
- A macro name
- A macro UUID
- An action XML
@DanThomas creates an XML for an Execute Macro action to execute based on the UUID, but there is no need for that, just use
do script uuid
or in this case
tell app "Keyboard Maestro Engine"
set v to value of variable "McMacroUUID"
do script v
end tell