FORUMS: list search recent posts

SCRIPTING: Specify output Folder dialog

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Barend Onneweer
SCRIPTING: Specify output Folder dialog
on Jun 12, 2012 at 2:09:18 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


Return to posts index

Dan Ebberts
Re: SCRIPTING: Specify output Folder dialog
on Jun 12, 2012 at 3:00:33 pm

I think this is what you're after:

Folder.selectDialog("your prompt goes here");

Dan



Return to posts index

Barend Onneweer
Re: SCRIPTING: Specify output Folder dialog
on Jun 12, 2012 at 3:32:13 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


Return to posts index

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