Yes there is with a small tweak to the original subroutine.
Here's an example with a smart group specified:
and the corresponding output:
So, just download the new version here:
Download Macro(s): [SUB] Get List of All Macros and IDs in Specific Group.kmmacros (6.6 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 13.6.1
- Keyboard Maestro v11.0.3
It's a direct replacement for the original macro so just delete the subroutine you currently have and install this one.