How to export every track as an individual wav file using macros?

Congratulations :ugeek:

Hi guys, first of all congrats on this great and very helpful script!

I’ve noticed that the generated files’ length is that of the longest clip in the project aka project length. Would it be possible for the generated files to have individual lengths, aka the lengths of the respective track? I haven’t managed to do so yet - maybe you can point me in the right direction.

Thank you kindly!
H