1 Reply Latest reply on Mar 7, 2011 1:57 AM by Ten A

    Relink images




      There are several images placed in my documents which name have been changed. Only an extension .eps added in all images name.


      Anyone know how to relink images with new name.




        • 1. Re: Relink images
          Ten A Adobe Community Professional

          I don't know how to Relink images. But I know how to get fullpath of placing images, and how to place Images in rectangles.


          We can collect Images filepath,




          If you only change filenames extension, you can replace the EPS images, and other properties can keep before replace Images.



          for (var i=0;i<app.activeDocument.rectangles.length;i++) {
              if (app.activeDocument.rectangles[i].epss.length>0){
                  var n = app.activeDocument.rectangles[i].epss[0].properties.itemLink.filePath;
                  var f = File (n);



          Though it only has to be useful...