5 Replies Latest reply on Apr 14, 2008 11:25 AM by (Jay_Sparks)

    JS(CS2) Page number of a linked graphic?

      How do I return the page number of a linked graphic. <br />I'm trying to print out a list of the paths, index, and page numbers of all linked graphics in a doc. So far I've 2 of 3. Help.<br /><br />-------------------------------------------------------<br />g = app.activeDocument.allGraphics;<br />var myTextFrame = app.activeDocument.pages.item(0).textFrames.add(); <br /><br />for (i=0; i<g.length; i++){<br />     myTextFrame.contents = g[i].itemLink.filePath + "\t" + g[i].itemLink.index + "\r";