Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Creating folder sets

  • Creating folder sets

    Posted by Jason Linn on September 5, 2013 at 12:57 am

    Hey guys, I’m new to the scripting community but I’m wondering if someone could help me with a script to create a series of folders in the project panel. If not, maybe you can guide me to some existing code that does something similar?

    Thanks!
    J

    Jason Linn replied 12 years, 8 months ago 3 Members · 3 Replies
  • 3 Replies
  • Mitch Mann

    September 5, 2013 at 1:58 am

    If its the same folders that you’re creating every time, it would be easier to skip expressions and just make a blank projects with your folders in it that you can load or import.

  • Dan Ebberts

    September 5, 2013 at 2:55 am

    I’m just typing this from memory, so it may not be completely accurate, but I think this demonstrates about all you need:

    var topFolder = app.project.items.addFolder(“Top Level”);
    topFolder.parentFolder = app.project.rootFolder;
    var subFolder = app.project.items.addFolder(“Sub Level”);
    subFolder.parentFolder = topFolder;

    Dan

  • Jason Linn

    September 6, 2013 at 3:41 am

    Thanks Dan! Worked Perfectly.

    https://www.jasonlinn.com

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