5 Replies Latest reply on Jan 23, 2015 6:25 AM by Teetan VK

    Question about Script UI image

    Teetan VK Level 1

      Hi everyone

       

      we can insert an image into script

       

      like this:

      var w = new Window ("dialog", "Testing");

      var pics = w.add ("image", undefined, File ("~/Desktop/mingxing2.jpg"));

      w.show ();

       

       

      But is that possible to tell script if can't find the pic, we have second choice

       

      like this:

      var w = new Window ("dialog", "Testing");

      var pics = w.add ("image", undefined, File ("~/Desktop/mingxing2.jpg"||"~/Desktop/mingxing3.jpg"));

      w.show ();

       

      or third choice...

       

      thank you

      Regard

       

      Teetan