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

Extension engine bug: app.project.importFiles doesn't work as supposed to in Beta

New Here ,
Apr 06, 2022 Apr 06, 2022

Hello, 

 

1. Version of tha app: Premiere Pro 22.4.0.30 (probably it started happening in a few previous builds too)

2. Tested on Mac mini (M1, 2020). OS version 12.2.1 (Monterey)

3. We've encountered a bug that might break a lot of extensions when using "app.project.importFiles" api call. I am attaching a video, sample projects and a script example. Calling this API to import a .prproj results in error. 

 

The gist of the call is:

var path = '/Users/USERNAME/folder/toImport.prproj';

if (path){
    app.project.importFiles(
        [path],
        true, // suppressUI
        app.project.rootItem,
        false // importAsStills
    );
}

 

The root issue seems to be the "suppressUI" parameter which defaulted to "import everything" before.

 

Thank you for looking into this :-).

 

Bug Unresolved
610
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

correct answers 1 Correct answer

Adobe Employee , Apr 18, 2022 Apr 18, 2022

Annoying! 

We're tracking this as DVAPR-4237770, "app.project.importFiles() FAILS for .prproj files, in 22.4; works fine in 22.3". 


Translate
2 Comments
Adobe Employee ,
Apr 18, 2022 Apr 18, 2022

Annoying! 

We're tracking this as DVAPR-4237770, "app.project.importFiles() FAILS for .prproj files, in 22.4; works fine in 22.3". 


Translate
Report
Adobe Employee ,
Apr 18, 2022 Apr 18, 2022
LATEST

Thanks for reporting this, Alexander! 

 

I've put you in touch with our API wizard and hope to have some good news on a fix soon. 

 

Thanks,

Dacia

- Dacia Saenz, AE & PR Engineering Teams
Translate
Report