Skip to main content
Harbs.
Legend
April 23, 2009
Answered

Finding hyperlinks

  • April 23, 2009
  • 1 reply
  • 790 views

Just makeing sure I'm not missing the obvious...

I don't see any straight-forward way of checking the hyperlink of specific text. (i.e. text.hyperlinks -- or what-have-you)

Before I start writing a very convoluted and expensive function to check if text is hyperlinked, and what it is; am I missing something?

Harbs

This topic has been closed for replies.
Correct answer D¡rk Becker
Impossible in JavaScript.

If you were using AppleScript:

tell application "Adobe InDesign CS3"

tell active document

set myStory to story 2

get hyperlink text sources whose parent story of source text is myStory

end tell

end tell

Dirk

1 reply

D¡rk BeckerCorrect answer
Inspiring
April 23, 2009
Impossible in JavaScript.

If you were using AppleScript:

tell application "Adobe InDesign CS3"

tell active document

set myStory to story 2

get hyperlink text sources whose parent story of source text is myStory

end tell

end tell

Dirk

Harbs.
Harbs.Author
Legend
April 23, 2009

Hi Dirk,

Thanks for confirming.

Dang! we really need a "whose" equivalent in js...

Harbs