How to add all my files in a new Sequence ? (Script)

New Here ,
Feb 21, 2021 Feb 21, 2021

Copy link to clipboard

Copied

Hi ! I have a script :

This script download all my clips and import in my project (THIS PART IS DONE). 

Code :

 

function addFile(path) {
	app.project.importFiles([path], true, app.project.getInsertionBin(), false);
};

 

 Now when i finish this task (up all my videos in the projet). I have a new button (compose). I want to create a new sequence when i click them, and next i need to add clip by clip in this sequence ... how can i do that ? 

I can create sequence but after that i don't found a solution to add all imported clip in this sequence 😞

 

Thank for Help !

 

(PS : i'm french, sorry for this crappy english x))

 

TOPICS
Editing, How to, SDK, User interface or workspaces

Views

48

Likes

translate

Translate

Translate

Report

Report
Reply
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 , Feb 22, 2021 Feb 22, 2021
You would use the insertClip() function, demonstrated in PProPanel.

Likes

translate

Translate

Translate
Adobe Community Professional ,
Feb 21, 2021 Feb 21, 2021

Copy link to clipboard

Copied

Screenshot 2021-02-21 at 20.27.45.png

Use the Automate to Sequence button - select your clips first.

Likes

translate

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 21, 2021 Feb 21, 2021

Copy link to clipboard

Copied

If you can this in a script you will have to wait for @Bruce Bullis 

Main while. select all clips in the project panel and drag them to the New Item Icon.

The order the clips are placed on the timeline depends on the way the clips are selected in the project panel.

Likes

translate

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 22, 2021 Feb 22, 2021

Copy link to clipboard

Copied

You would use the insertClip() function, demonstrated in PProPanel.

Likes

translate

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines