This is a limitation of the Notification system. Peter can't suppress the Show button, but he also can't make it do anything useful.
There isn't, but as noted in my reply, you can see more (much more, usually) in the logs. Help → Open Logs Folder will take you there, then you can open the Engine.log in a text editor. It's a big file, though, so I have another simple macro that runs tail
(which displays the most recent entries in a file) on the log files. If I run that after an error, then only the last few lines will appear onscreen, making it easy to see the Action ID and use my other macro.
This is another simple macro; this one is in a group that only runs in the KM Editor, as that's the only place it makes sense. It's got one optional feature, in that if I invoke it with the Shift key down, it opens the log in BBEdit, otherwise, it just tail
s the log in Terminal. In that output, I can then select the Action ID and activate the earlier macro to find that action.
Download Macro(s): Work with the log file.kmmacros (30 KB)
Macro notes
- Macros are always disabled when imported into the Keyboard Maestro Editor.
- The user must ensure the macro is enabled.
- The user must also ensure the macro's parent macro-group is enabled.
System information
- macOS 14.5
- Keyboard Maestro v11.0.3
Note that if you do a lot of this stuff, there's a very comprehensive tool by @_jims that makes this all really easy—but it's probably not needed if you're not writing a lot of complicated macros.
-rob.