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

Evalscript Error for no reason on Extendscript [PPRO]

Participant ,
Jul 04, 2024 Jul 04, 2024

Copy link to clipboard

Copied

I'm developing a CEP Extension for Premiere pro however, Extendscript doesn't seem stable for some reason. Even one line codes fails time to time.

For example;

 

app.project.rootItem.createBin("Folder");

 

 
It should createa bin named "Folder" in top level with no issue no matter what, however sometimes it just fails and decides not to.

I have used ExtendScript Developer Tools to test, however Extendscript has same behaviour on my CEP Panel as well. 

Example outputs ;

 

> app.project.rootItem.createBin("Folder");
[object ProjectItem]
> app.project.rootItem.createBin("Folder");
EvalScript error.
> app.project.rootItem.createBin("Folder");
[object ProjectItem]
> app.project.rootItem.createBin("Folder");
[object ProjectItem]
> app.project.rootItem.createBin("Folder");
EvalScript error.
> app.project.rootItem.createBin("Folder");
[object ProjectItem]
> app.project.rootItem.createBin("Folder");
[object ProjectItem]
> app.project.rootItem.createBin("Folder");
EvalScript error.

 




TOPICS
SDK

Views

57

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

correct answers 1 Correct answer

Participant , Jul 04, 2024 Jul 04, 2024

Restarting the app solves the issue however I have no idea what I did to make Extendscript unstable like this.

Votes

Translate

Translate
Participant ,
Jul 04, 2024 Jul 04, 2024

Copy link to clipboard

Copied

LATEST

Restarting the app solves the issue however I have no idea what I did to make Extendscript unstable like this.

Votes

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