Add a hyperlink to another document? CS4
Hi,
How would one add a hyperlink to a document that refers to another document?
The basic is:
myDoc.hyperlinks.add(myHyperlinkTextSource, myHyperlinkTextDestination);
How do I get "myHyperlinkTextDestination" if it exists in another, unopened InDesign document?
I suppose I could open the document, get the Hyperlink destination, and then close it again, but in the UI this is not necessary (you simply browse to the required file and can then choose from a list of hyperlink destinations in that file). So how is this scripted?
Thanks,
Ariel