ExtendScript how to export selected audio
Hey, hoping someone can help
I'm creating a premiere pro extension. I want to export the selected audio in the sequence.
For example, I have audio1.wav. I drag it into the sequence, then cut it into 2 audio clips. I want the extension to export only one of those clips when selected (not the entire audio1.wav).
Is there a way to get start and end points of the selected clip then export only that?
Thank you
P.S:
app.project.activeSequence.exportAsMediaDirect exports the entire sequence.
Ideally, i don't want it to use AME.
