Article View: adobe.scripting.indesign
Article #8180Re: (JS) Adding hyperlinks
From: Dirk_Becker
Date: Tue, 07 Nov 2006 22:08
Date: Tue, 07 Nov 2006 22:08
9 lines
905 bytes
905 bytes
text is InDesign's base class of paragraph, character and so forth - pointers into a story. the contents property of text is just a string - a JavaScript class. Use this code: aText = app.activeDocument.stories[0].paragraphs[0]; aDest = app.activeDocument.hyperlinkTextDestinations.add(aText); Dirk
Technical Details
Message-ID:
<3bc235ac.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.isoc.lu!webcrossingReferences:
<3bc235ac.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,20057d8f7e7220f3 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dirk_Becker@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: (JS) Adding hyperlinks Message-ID: <3bc235ac.0@webcrossing.la2eafNXanI> Date: Tue, 7 Nov 2006 14:08:05 -0800 References: <3bc235ac.-1@webcrossing.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit