Article View: adobe.scripting.indesign
Article #2433Re: [CS4 JavaScript] Cross references
From: Rick_Quatro
Date: Thu, 18 Dec 2008 21:46
Date: Thu, 18 Dec 2008 21:46
7 lines
1140 bytes
1140 bytes
Yes, this works fine, where oPgf is a paragraph object, and oDoc is the document object: var destination = oDoc.paragraphDestinations.add(oPgf,name:"abc"}); Do paragraphs in InDesign have a unique id or serial number? If so, I could use this for the name parameter. That way, if I want to point to a paragaph, I could query the ParagraphDestinations using the paragraph's id to see if a ParagraphDestination already exists for that paragraph. Thanks for your help!
Technical Details
Message-ID:
<59b74dde.4@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news4.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossingReferences:
<59b74dde.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,91522556f5796bab X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Rick_Quatro@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: [CS4 JavaScript] Cross references Message-ID: <59b74dde.4@webcrossing.la2eafNXanI> Date: Thu, 18 Dec 2008 13:46:29 -0800 References: <59b74dde.-1@webcrossing.la2eafNXanI> Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news4.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing