Creating Bins, Sequences, and Moving them Around

Alright. We’ve made it through the boring stuff upfront. We can successfully make a panel and load it into Premiere. Now lets make Premiere do something!!

In this move I cover a bit about how to dig down through the folder hierarchy in Premiere, and discuss three methods that are essential in a script;

createBin(), moveBin(), and createNewSequence().

The example I walk through is simple, but the foundational concept is what we need to take away. We can now move any bin/seq/item around a project, which makes it very easy to keep our projects organized while use our speedy new workflow tools.

A few things to note from this video.

1) The moveBin() function moves any project item, not just bins. It technically is not moving a bin, but changing the parent of the item.

2) This means that even if we have a bin deep down in our file structure with a bunch of items within, we can change that parent of the top folder, and all the sub-items will move with it.

3) I don’t know why when I was writing that example I chose to use indexOf rather than just matching (==) to the proper string, but hey, Im not recording that movie again.

4) createNewSequence() is not the best route for creating a sequence in our project, because it requires user interaction. It is much easier to use the function create qe.project.newSequence() — in the sample code as createNewSequenceFromPreset — but that requires us to go into .sqpresets, and this movie was already 15 minutes long. Coming soon….

Thanks for watching and reading!