I don't know if this helps with the Spotlight version, but I managed to cobble something together using the native Trigger macro by name action.
Trigger By Name (Remember Last Choice).kmmacros (23 KB)
I'm sure there's a more watertight way of capturing the name of the most recently run macro, but it seems to work in practice.