Logic Pro X Export Makro

Hey Guys,

I’ve been tweaking at a Logic Pro X Export makro for a while now one to specifically fit my project layout for stem exporting.
There’s a couple places the makro makes mistakes regularly, so I figured I’d ask here if someone has a better idea.
The first issue arises when unsoloing; it sometimes will solo more than one stem (95% of the time this works well, occasionally it will get messed up) and therefore export a combined stem.
The second place it gets stuck is when going to my export folder. Something about the cmd shift g and navigating never seems to work time wise. It always starts typing the /Users in varying lengths in the file name before the search bar pops up and will also attach the file name (05_SB to the location search command). I’ve attached a screenshot. Any advice?

There's a bouncing macro in this thread that might be helpful.

There are all sorts of things that can trip up a logic flow. Waiting for things to happen is one of the key culprits, and in Logic I find waiting for menu items to become available can be helpful. Be aware though that this can be hit and miss as some items aren't updated until they're manually viewed by the user.