Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Premiere 11.1 Crashing Extendscript using app.project.importSequences

$
0
0

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 testcodei 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


Viewing all articles
Browse latest Browse all 53010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>