ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

AE Script: How to set "File.openDialog()" filters?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ryan McAdam
AE Script: How to set "File.openDialog()" filters?
on Nov 22, 2017 at 2:40:44 pm

Hey,

Right now I use File.openDialog("prompt", undefined, true); to select multiple files of any kind from the open dialog window.

I'm trying to figure out how to limit a selection to a specific file type when I call the open dialog function from the Javascript core library. The documentation shows me the syntax I need to use (filter: any) but it doesn't give me a comprehensive list of filter options I can use. For example, if I only want png files or text file to show up in the open dialog window how would I do that? More importantly, where can I find a list of filter options available to use?

Thanks so much,
Ryan


Return to posts index

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