Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Moving a comp out of a folder to the root level

  • Moving a comp out of a folder to the root level

    Posted by Pritam Bonia on July 15, 2019 at 11:40 am

    I have been trying to create a script which goes through the folders in the project and look for the main or a particular composition and move it out to the folder to the root level. I went through the docs and online forums, but it only shows how to move into a folder but not the other way around.

    Thanks for your help.
    Pritam

    Pritam Bonia replied 7 years, 1 month ago 3 Members · 3 Replies
  • 3 Replies
  • Richard Garabedain

    July 15, 2019 at 3:56 pm

    you search for that folder and drag it to the top of the project window…that grey area above the search puts things back into the base…I do this manually but i suppose a script could do it

  • Walter Soyka

    July 15, 2019 at 4:37 pm

    // move myItem object into the project's root folder
    myItem.parentFolder = app.project.rootFolder;

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Pritam Bonia

    July 16, 2019 at 6:03 am

    Thanks a lot, Walter. That did the trick.

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