Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects AE equivalent to programmatically creating new AE comps, or a template file or batch processor (more than just changing text…)

  • AE equivalent to programmatically creating new AE comps, or a template file or batch processor (more than just changing text…)

    Posted by Amy Young on December 8, 2017 at 5:01 pm

    Let’s say I have a folder of 25 folders of TIFs (B-Z). In AE, I have a 1) precomp of the image sequence “A” with a text layer that displays the source name 2) a comp including precomp A and another text layer that displays the source name and frame rate, etc.

    I like how A looks and want to (automatically) create 25 more precomps and comps, just like A.

    What is the best way to do this? Dragging a folder into AE 25 times to make a new comp seems clunky, esp. because the precomp and comp have a few text layers.

    Thanks for any advice!

    Amy Young replied 8 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    December 8, 2017 at 6:01 pm

    you would need to write (or find) a script…. you could have a script that when ran would take whatever you have selected in the project window, it would then create a new comp for each and add the text layer that would contain the footage information.

    you could select the footage in the project window and drag them to the new comp icon, choose to add each sequence to a new comp, and then create an animation preset to create the text layer with the clip information… you would need to run that preset for each comp, but source name and frame rate information can be added via an expression on the text layer (which would be a part of the text animation preset). it’s not automatic, but once the preset is made, it would only take a few minutes to do all 25 of them.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Amy Young

    December 8, 2017 at 6:47 pm

    Thanks for the summary of steps.

    I think I can make a Frankenscript out of:

    a) Make new comp with new attributes and include selected item:
    https://forums.creativecow.net/thread/227/24401

    b) A reduced version of this souped-up smart import:
    https://aenhancers.com/viewtopic.php?f=3&t=2479

    what I like about this is that 1) I can enter a fps at import stage, since I can’t find where to change the default 30fps to something else, and 2) I don’t have to click Open each time — the script’s Open File dialog stays open.

    c) Notes from Dan’s Motionscript:
    https://www.motionscript.com/ae-scripting/pre-comp-to-layer-dur.html

    If I get it working, I will post here. I know, just doing them by hand will probably be faster than writing something, but I like scripting. 😀

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