Skip to main content
Participant
June 27, 2014
Answered

Is it possible to add a clip to a sequence using ExtendScript?

  • June 27, 2014
  • 3 replies
  • 4419 views

My job consists of making videos that follow a very specific format:  add the interview clip, add the opener, lower third, outro music, copyright, make sure the audio levels are good, add a Dynamics preset, export.  Over and over and over again, day after day.  Growing weary of the daily grind, I looked rather extensively into the capabilities of Premiere scripting via ExtendScript.  I was excited to hear that CC 2014 had expanded on its scripting capabilities, so I dove in and found out what it was capable of doing, not letting myself be deterred by the lack of documentation.

Here's what I discovered:  among many other things, you can programmatically create (and sometimes modify) bins, markers, and sequences, and import clips into the project.  But you can't actually put those clips into a sequence.  Indeed, every Google search led me to the same point:  you can do quite a bit with scripting, but you can't do that.  That's where everyone gets stuck, and no one has an answer.

Is it just... not possible?  If not, why come so close and yet so far with scripting?  Will this be added in the future?  I'm far from the only person on the interwebs who would absolutely love this ability.

Thanks!

This topic has been closed for replies.
Correct answer Bruce Bullis

[Noticed this thread, while performing other forum-related administrivia...]

PProPanel now exercises insert and overwrite edits.

Samples/Premiere.jsx at master · Adobe-CEP/Samples · GitHub

Samples/Premiere.jsx at master · Adobe-CEP/Samples · GitHub

3 replies

cspears2002
Participant
August 27, 2014

I have been having the same experience.  Here is my code:

#target premierepro

var myFiles = ["/Volumes/cg/Production/RND/ChrisPremiere/The_Story_of_the_Three_Little_Pigs-3-1.mov"];

// Import files and create a sequence

var pproj = app.project;

pproj.importFiles(myFiles);

pproj.createNewSequence("mySeq", myFiles);

The code imports the files and creates a sequence, but the file is not imported into the sequence.  How does one go about importing a Quicktime movie (or any media for that matter) into a sequence?

Thanks.

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
November 8, 2017

[Noticed this thread, while performing other forum-related administrivia...]

PProPanel now exercises insert and overwrite edits.

Samples/Premiere.jsx at master · Adobe-CEP/Samples · GitHub

Samples/Premiere.jsx at master · Adobe-CEP/Samples · GitHub

Bruce Bullis
Community Manager
Community Manager
July 2, 2014

'Impossible' and 'Unsupported' are two different things.   Write me off-list. b b b at adobe dot com

Kevin J. Monahan Jr.
Legend
June 27, 2014

Hi,

I'll move your post to the Premiere Pro SDK forum.

Thanks,

Kevin

Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio