Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions AE Script: How to set “File.openDialog()” filters?

  • AE Script: How to set “File.openDialog()” filters?

    Posted by Ryan Mcadam on November 22, 2017 at 2:40 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

    Ryan Mcadam replied 8 years, 6 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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