1 Reply Latest reply on Sep 23, 2008 6:35 PM by (Jeff_Almasol)

    An easy way to get dialogs to show up

    david van brink Level 1
      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/