Every such macro would be a custom script to suit your needs. It's a real pain, but the answer is that you'd have to buy a macro tool, learn its scripting language, and script it to your needs. The one I mentioned is/was pretty good. But really a smart contract is better at this, esp. within a mint-on-demand situation.