Hi CJ,
You were one of the original people that helped me on this forum back several years ago, and I sure appreciate it. I've had a very rewarding experience thanks to folks like you. I hope my program can help you.
From your example, you have one track that starts 5 measures after another track and you want to scrub the silent 5 seconds from the export. Unfortunately my program cannot, and should not, manipulate your projects. There is no way I can examine the content of your projects to know what to do.
I simply start X2 and send it keystrokes to do the export. After writing the program I can see why Cake has not added the functionality, though I believe they could do it fairly easily using something like a set list.
David