Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Move Comps to folder script for AE?

  • Move Comps to folder script for AE?

    Posted by Ben Christie on July 2, 2014 at 5:52 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.

    Ben Christie replied 11 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy