Article View: adobe.scripting.indesign
Article #1780[CS4 JS] Shortcut to page object from paragraph
From: Rick_Quatro
Date: Mon, 26 Jan 2009 19:27
Date: Mon, 26 Jan 2009 19:27
7 lines
981 bytes
981 bytes
I have the index markers inside of paragraphs that can be directly in a story, but can also be inside of tables and anchored text frames. Is there a shortcut way of getting the page object of any paragraph? Right now, I am using this $.writeln(index.allTopics[i].pageReferences[0].sourceText.parentTextFrames[0].parent.name); This works unless the text is nested deeper than the basic story. Thanks in advance. Rick Quatro
Technical Details
Message-ID:
<59b7ad8e.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,baa885ebee82b593,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Rick_Quatro@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [CS4 JS] Shortcut to page object from paragraph Message-ID: <59b7ad8e.-1@webcrossing.la2eafNXanI> Date: Mon, 26 Jan 2009 11:27:30 -0800 Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit