ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Import folder into After Effects CC by using ExtendScript?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Loong Yin Min
Import folder into After Effects CC by using ExtendScript?
on Nov 22, 2019 at 7:10:42 am

Hi, I am trying to import folder by using Adobe Extendscript into AE CC2018. The function should be same as AE import folder function. Please see attachment below.



Attachment below is result in AE after  "Import Folder" button is pressed.



I try to using Extendscript importFile() methods to import folder, but no luck so far. 

app.project.importFile(new ImportOptions(new Folder("C:\\Users\\Username\\Desktop\\type\\line")));

After Effects error: File can not be opened.

Hopefully any AE master can help me solve my problem. Your help in this matter is greatly appreciated!


Return to posts index

Oleg Pirogov
Re: Import folder into After Effects CC by using ExtendScript?
on Nov 22, 2019 at 11:41:25 am

There's a native script called "Smart Import" which does that - imports a folder. You may check it out and see, how folder import is realized there. "importFile" is for files (single files or sequences) only and can not be applied to a folder directly.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]