4 Replies Latest reply on Nov 21, 2008 11:15 PM by bret linford

    AS: reference a placed image/link

    bret linford
      Newbie question here:

      How do I reference an image on a document? I will have only one image placed. I would like to grab the name of this link. I can't get 'link item' to work.

      tell application "Adobe InDesign CS3"
      set theImage to link name of image 1
      set theName to name of item link of theImage
      display dialog (theName as text)
      end tell

      I'm sure my syntax is
      b way
      incorrect. Thanks!