ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Move Comps to folder script for AE?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben ChristieMove Comps to folder script for AE?
by on Jul 2, 2014 at 5:52:14 pm

Hey guys,

currently I am trying to make a script that makes a bunch of template compositions and then puts them in a "template" folder.

So far I have this:

/ Comp Creation
var proj = app.project;
var newCompNames = new Array("template_1", "template_2");
var newCompWidth = new Array(1800, 900);
var newCompHeight = new Array(2880,1440);
var newCompPAR = 1.0;
var newCompDur = 10;
var newCompFPS = 60;

var numCompsToCreate = newCompNames.length;

//Loop to create comps
for(var i = 0; i < numCompsToCreate; i++){
proj.items.addComp(newCompNames[i], newCompWidth[i], newCompHeight[i], newCompPAR, newCompDur, newCompFPS);

alert("All done!");

I also have some script that creates a few folders, one of which is the "templates folder." This folder is under a folder called "assets"

If anyone could help me figure out where to go next that would be awesome. Thanks.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved