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

Premiere 11.1 Crashing Extendscript using app.project.importSequences

New Here ,
Jul 14, 2017 Jul 14, 2017

Hi all,

Im currently trying to make an Premiere Panel, which should allow the fast import of sequences.

So i was trying around with the import functions of the Adobe Pro Panel, which looked perfect.

Here is a excerpt of my testcode i used in Extendscript Toolkit CC.

var file = File.openDialog () ;

var pathToPrProj = file.fsName;

var seqIDsToBeImported = new Array;

seqIDsToBeImported[0] = 1;

app.project.importSequences(pathToPrProj, seqIDsToBeImported);

This was based on the sample provided in the PremierePro Panel (Premiere.jsx:96-103).

When executing the code through the Toolkit i get following Error Message.

DebugError.PNG

After this message Premiere suddenly shows an input Error afterwards and comes up with the typical "Premiere encountered an Error and has to be closed...".

To be honest, i have no idea what could cause this error and im also not able to watch the whole line in the Error window.

Does anyone know a workaround or simply sees where my mistakes is?

Thanks in advance, everyone!

Leon

p.s. Error is reproducible

TOPICS
SDK
584
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 , Jul 14, 2017 Jul 14, 2017

Sequence IDs are GUIDs, and are never '1'.

If you open the template project (from which the sequences are to be imported) in PPro, you can use ExtendScript to walk across all sequences, and get the actual Sequence ID; pass that GUID, instead of '1'.

Translate
Adobe Employee ,
Jul 14, 2017 Jul 14, 2017
LATEST

Sequence IDs are GUIDs, and are never '1'.

If you open the template project (from which the sequences are to be imported) in PPro, you can use ExtendScript to walk across all sequences, and get the actual Sequence ID; pass that GUID, instead of '1'.

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