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

Extendscript renderQueue.render(); fails on saved project that was created on Mac Mini

Participant ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

I want to open pregenerated project and render it:

 

aepPath = 'some.aep';
app.open(new File(aepPath));
p = app.project;
queue = p.renderQueue;
for(i=1; i<=queue.numItems;i++) {
    queue.item(i).applyTemplate('Draft');
    queue.item(i).outputModule(1).applyTemplate('Draft');
}
p.renderQueue.render();

 

  It works perfect if i create project on windows pc, but if i'll create it on mac mini and try to render on windows pc using extendscript i receive this error:

Dmitriy5FD0_0-1703307267955.png

Failed at N/A

The weird fact if i'll stop script before 'p.renderQueue.render();' and put in console 'p.renderQueue.render();' and hit enter, render will start fine...

Any thoughts?

 

 

...UPDATE:

it works if i remove `app.beginSuppressDialogs();` if shows dialog that font is missing when opening project, after clicking OK render starts fine...

Also tried to remake queue by removing and adding same queue, but that didn't work either...

TOPICS
Scripting

Views

60

Translate

Translate

Report

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
no replies

Have something to add?

Join the conversation