2 Replies Latest reply on Jul 25, 2016 7:50 AM by Dario_D

    How to get path of an imported Ae project?

    Dario_D

      Hello everyone,

       

      for a script I am working on, I need to let the animators import another Ae project into the current project and then store the path of the chosen file into a variable. I thought that something like the importFileWithDialog() method would work, but this returns only an array of the imported items.

      In the case of a footageItem I can easily get its file path, but not if the imported item is a folder item (another Ae project is collected into a folder item in the Project Panel).

      Do you know how can I freely browse to the project I need to import and get its file path?

       

      Thank you in advance!

      Dario