Sorry, I was focused on your post title.
I suspect you are asking about the above, right?
Assuming, so...
I suggest you download the macros here: Finder Assistant.
Even if you don't use the main macro, Finder Assistant, check out the subroutine macro named 𝗌.𝗳𝗻𝗱⇾NewTabOrWindowInSpace.
For that sub, create a simple calling macro like the following...
Download: z𝘊𝘢𝘭𝘭 𝗌.𝗳𝗻𝗱⇾NewTabOrWindowInSpace.kmmacros (1.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 15.3.1 (24D70)
- Keyboard Maestro v11.0.3