Article View: adobe.scripting.indesign
Article #2337Re: CS3 Javascript - finding the paragraph which contain the index page reference
From: Ola_Khrapatin
Date: Sun, 28 Dec 2008 21:01
Date: Sun, 28 Dec 2008 21:01
8 lines
1032 bytes
1032 bytes
Yup, that was the problem indeed. Then it got stuck on the following line: myPara1Place = myPara1.parent.texts.itemByRange(0, myPara1.index).texts.item(0).paragraphs.length; using the Debuging tools I could see it probabely has something to do with the "itemByRange" result. What could be the bug?... Ola
Technical Details
Message-ID:
<59b75803.11@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingReferences:
<59b75803.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,4423827cf06ba747 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Ola_Khrapatin@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: CS3 Javascript - finding the paragraph which contain the index page reference Message-ID: <59b75803.11@webcrossing.la2eafNXanI> Date: Sun, 28 Dec 2008 13:01:19 -0800 References: <59b75803.-1@webcrossing.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit