4 Replies Latest reply on Mar 10, 2010 9:53 AM by TestOCM

    [JS] Insert Image


      Hey Guys,



      var myDoc = app.activeDocument;

      var afile = File("/Desktop/a/image/a.jpg")


      if (!afile.exists )


      alert ("Image file missing...")










      I'm using this script to place test files on to active page ... I'm trying to modify this script to place images in to labeled boxes - but I guess I'm missing something here ...


      Thx for help