Article View: adobe.after.effects.scripting.render
Article #143An easy way to get dialogs to show up
From: david_van_brink
Date: Tue, 23 Sep 2008 19:30
Date: Tue, 23 Sep 2008 19:30
24 lines
1521 bytes
1521 bytes
Hi. I am making available some JavaScript code which helps make dialogs for scripts in After Effects (also Photoshop and Illustrator).
Just a few lines can bring up a dialog; it wraps up some of the ScriptUI functionality for you, for certain kinds of dialogs.
For example,
can be displayed with:
var omd = newOminoDialog("Example Omino Dialog");
omd.number("a number","n",88.21);
omd.string("a string","s","your name here");
var result = omd.run();
Here's a link to further explanation on me blog, including how to read the results of the dialog (it's easy). Hope someone finds it useful! Feel free to contact me with questions &c.
<http://omino.com/pixelblog/2008/09/21/35/>
Technical Details
Message-ID:
<59b69000.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!ecngs!feeder2.ecngs.de!87.106.137.111.MISMATCH!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news4us.nl!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 1efebe,bc2d967d309181c6,start X-Google-Attributes: gid1efebe,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: david_van_brink@adobeforums.com Newsgroups: adobe.after.effects.scripting.render Subject: An easy way to get dialogs to show up Message-ID: <59b69000.-1@webcrossing.la2eafNXanI> Date: Tue, 23 Sep 2008 12:30:56 -0700 Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!ecngs!feeder2.ecngs.de!87.106.137.111.MISMATCH!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news4us.nl!webcrossing