5 Replies Latest reply on Dec 3, 2009 1:17 PM by Harbs.

    Iterate through all inline images in a document

    jpedroza2kLDS Level 1

      I want to iterate through all the images in the current document and reduce their size. I have tried using the Images.allImages() method, but it throws an error: "Error String: Object does not support the property or method 'allImages'"

       

      My code is as follows:

       

      var myDoc = app.activeDocument;

       

      var allDocuementImages = myDoc.allImages();

       

      Any suggestions would be appreciated.