2 Replies Latest reply on Apr 18, 2008 12:20 AM by Peter Kahrel

    HELP!! HELP!! HELP!! HERE!!! PLEEEAAASSSEEE!

      Dear Scripting team,

      Is there a way to list the name of graphics (links) on each page and make a list like:

      file1.tif Page 1
      file2.tif page 3
      file4.tif page 5
      file5.tif page 8

      I can list the graphic names with this:

      *************************************************************

      Set myInDesign = CreateObject ("InDesign.Application.CS3")

      for each element in myindesign.ActiveDocument.links

      msgbox(element.name)

      next

      *************************************************************

      BUT I can not get the page where the graphic is contained as my list above or say something like... myindesign.ActiveDocument.pages.item(1).links because it give me an error... i mean.. ican't specify the page where I wanto to get the links and also can't know the page number where the element (link) is contained...

      ANY IDEAS?? Thank you!! Thank you!!!