An AppleScript "do script" is not running a Macro when called by name but runs it when called by UUID. Other test Macros don't respond to either.
versions KM 8.2.4 ; AppleScript 2.7 ; MacOS 10.13.6
I've searched these forum messages and checked all the suggestions. Still no luck.
The Macro to test an AppleScript is pretty simple:
It is enabled and sits in the Global Macro Group which is also active and unrestricted
This AppleScript is run from the Script Editor:
tell application "Keyboard Maestro Engine"
do script "4379B59B-EC3A-4E02-BB08-D92A178995A3"
do script "Decrease Sound Volume"
The first call to do script works.
The second generates this error:
error "Keyboard Maestro Engine got an error: do script found no macros with a matching name" number -1
The UUID and the Name refer to the same Macro. (UUID came from "Copy as UUID")
The normal cause for that is trying to execute a macro that either:
• Does not exist. (exists)
• Is disabled. (enabled)
• Not in application specific group (Global Macro Group)
• Is in a Macro Group that is disabled. (Group enabled)
• Is in a Macro Group that is currently inactive. (Group always active)
Any other suggestions?