Skip to main content
Known Participant
May 9, 2024
Question

the Number of hyperlinks

  • May 9, 2024
  • 7 replies
  • 609 views

I entered a script on Adobe InDesign to know the number of hyperlinks in my file. It gave me an inaccurate number knowing that the file contains 748 pages, and each page contains hyperlinks defined by a Master page

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

Peter Kahrel
Community Expert
Community Expert
May 9, 2024

It's not easy to see how a script could get it wrong:

alert (app.documents[0].hyperlinks.length);

Can you show your script?

Participating Frequently
May 9, 2024

Presumably this is because a hyperlink on a master page, even though it is visible on a "live" page of a document, is only counted once until and unless the text frame that contains it is overridden?

Known Participant
May 9, 2024

what can I do to get the number exactly ?