2 Replies Latest reply on Sep 15, 2010 6:49 PM by ArchieOldie

    All hyperlinks invisible?


      I know I need to make all hyperlinks in a document so that visible = false, but I can't seem to make it work.

      This is my feeble attempt in Applescript:


      tell application "Adobe InDesign CS5"
          set theDoc to document 1
          set every hyperlink of theDoc to visible = false
      end tell


      This is what I get from running it:


      tell application "Adobe InDesign CS5"
          get document 1
              document id 377
          get visible
          set every hyperlink of document id 377 to true
              "Adobe InDesign CS5 got an error: Can’t set every hyperlink of document id 377 to true."




      I'd be happy for any help anyone can give. I've got 73 docs with anywhere from 2 to 100 hyperlinks in each. I know I can select all in the panel and click "invisible rectangle" but there has to be a better way…