Experimenting with Hazel and Applescript to run a macro based on the name or UUID. When run I get an error (see below). I used the 'Copy As' menu function to obtain the UUID, and the macro name was copied from the title of the macro.
That's where I'm at... seems as though it should work?
-- ignoring application responses
tell application "Keyboard Maestro Engine"
do script "Save Attachments of Selected Message v1.10"
-- or: do script "F03C712A-D330-42A9-BF6E-2A7998B199F4"
end tell
-- end ignoring
I did take a look at that thread - - thanks. However, both the group and the macro are active.
Just discovered what my problem was! I had the macro set to be available in the mail application ONLY. So, of course the script editor could not run something it did not have access to.
Well that's just another way of saying while you were testing in script editor your mail macro group was not active and so no macros in that group would be able to execute.