Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions SCRIPTING: Specify output Folder dialog

  • SCRIPTING: Specify output Folder dialog

    Posted by Barend Onneweer on June 12, 2012 at 2:09 pm

    Hi all,

    Not an expressions question but an ExtendScript question. But I get the impression this crowd might know a thing or two about After Effects scripting, too 😉

    So I’m taking Lloyd’s FXPHD scripting class and getting my feet wet in scripting. I’m trying to build a script that will create comps for all selected footage items, apply an animation preset and render to a specific location. Lloyd’s course is an excellent start since a good chunk of what I need is covered.

    But the thing I’m now strugling with is that I want the user to set the output path for the new files. So I’ve put in a ‘browse’ button, but the file.Opendialog isn’t what I need I think and I can’t figure out what I do need instead of this:

    var myOutputPath = File.openDialog("Select output path" );

    And there’s no such thing as Folder.openDialog it seems…

    Any pointers very much appreciated.

    Barend

    Raamw3rk – independent colourist and visual effects artist

    Barend Onneweer replied 13 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    June 12, 2012 at 3:00 pm

    I think this is what you’re after:

    Folder.selectDialog(“your prompt goes here”);

    Dan

  • Barend Onneweer

    June 12, 2012 at 3:32 pm

    Ha! That’s so obvious – but I’ve browsed through the Javascript guide for quite a while and didn’t stumble upon it.

    Thanks a lot! And I’ll be back for more obvious answers soon 😉

    Barend

    Raamw3rk – independent colourist and visual effects artist

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