Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Extendscript with Audition?

New Here ,
May 20, 2020 May 20, 2020

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?

TOPICS
Crash , Freeze or hang , How to
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 21, 2020 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2020 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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 21, 2020 May 21, 2020
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines