I can't get any trigger file to work from Finder or the Dock. They all run from the Status Menu, on palettes, and from within KMEditor. Every time I run a trigger file, even for something as simple as the below macro, it flashes the Finder window (or KMEditor if run from the Dock) and then adds this to the engine log:
2025-02-03 17:04:59 Invalid Plug In Action with Name Activate an Application by Name
The Editor.log returns these lines:
2025-02-03 17:06:52 Assertion Failed: false, file: …/Source/XCAF/XIcon.mm:622, value: 0
2025-02-03 17:06:52 XIcon::FromSavedData failed to find internal icon “(null)” from “KMEP-HUDDebuggerStepOver”
2025-02-03 17:06:52 Assertion Failed: false, file: …/Source/XCAF/XIcon.mm:622, value: 0
2025-02-03 17:06:52 XIcon::FromSavedData failed to find internal icon “(null)” from “KMEP-HUDDebuggerStepOver”
I checked ~/Library/Application Support/Keyboard Maestro/Keyboard Maestro Actions/ , and I'm not seeing @ComplexPoint 's plugin. Installing it doesn't fix the trigger failures.
This sounds like you have a reference to a plugin action called Activate an Application by Name that is not installed or invalid.
That seems to be an icon reference to an invalid internal Keyboard Maestro icon (I don't think there is an icon named that).
I don't know if either of these have anything to do with the problem with Trigger Files, but it is worth correcting them in any event.
I might carefully open the Keyboard Maestro Macros.plist file in BBEdit (carefully as in, do not make any changes!) and search for Activate an Application by Name and HUDDebuggerStepOver and see if either of those macro an appearance and then find the macros they are in, and then in the editor look at those macros and see what is going on.
For this particular macro it's the settings on your . QuickTools Macro Group.
You have the Group set to "Shows a palette for one action when:". Show the palette for one action with the ⌃Q hot key and the trigger file works. Change the option to "Always activated" and the trigger file works.
This drove me nuts for a while because I found Activate an Application by Name in the plist file, but couldn't find a single reference to it when I searched Enabled Macros. Eventually I thought, "the macro might not be active." A new Smart Group with just 'all:' helped me find it.
This is odd. There IS an icon in the Icon Chooser: Internal. Every reference to 'KMEP-HUDDebuggerStepOver' in the plist points to the below macros and the 3-window icon. Was that icon retired or renamed in a recent version of KM? I've had those macros unchanged for 7 or 8 years.
<key>CreationDate</key>
<real>664659143.99862599</real>
<key>CustomIconData</key>
<string>KMEP-HUDDebuggerStepOver</string>
<key>ModificationDate</key>
<real>736479903.645105</real>
<key>Name</key>
<string>13)Hyphens to Spaces</string>
I'll check later if changing all their icons clears out the problem, and if the triggers not working is simply a matter of me forgetting to remove the key trigger.
There should be an All Macros smart group installed by default. It's also available in the Macro Library if you've deleted it. Or you can select All in the Macro Group column.
How do you mean?
That is the standard default icon for a macro with multiple actions. So if the icon does not exist, then it's probably just defaulting back to that.
There is an icon named DebuggerStepOver. It's possible there was an older icon that has been deleted, or maybe even it was named that in a beta.