Skip to main content
Participant
May 21, 2020
Question

Extendscript with Audition?

  • May 21, 2020
  • 1 reply
  • 1013 views

I just want to make a simple open, apply favorite, save and exit script. I'm running from the command line as it's the best intergration with my python editing program that I can find.  I've seen whats been posted in regard to .jsx script to do this, however the script gets hung on the 'apply favorite' part and just crashes while saving and closing.

The documentation online for Exendscript with audition is sparse to non-existant which lead me to contact support.

Adobe support said that support for extendscript is supplied on the Adobe forums, so I'm back this time asking the question. Is there any documentation or someone that understands this topic?

This topic has been closed for replies.

1 reply

Participant
May 21, 2020

well, after a bit of trial and error I figured it out...

I needed to check if Audition was busy, I used:

function checkBusy() {
while (app.activeDocument.busyProgress == 1) {
$.writeln("Audition Busy!");
sleep (1000);
}
sleep (500);
}

 

It seems to allows processes to finish before moving to the next line. If anyone has more info on the Audition Extendscript topic please jump on the forum.

SteveG_AudioMasters_
Community Expert
Community Expert
May 21, 2020

No-one's going to jump in here - it's the wrong forum. Almost certainly a better forum to ask for comments on would be Coding Corner. 

Participant
May 21, 2020

Thanks! I really appreiciate you jumping in with your answer.