Article View: adobe.scripting.indesign
Article #2325Re: CS3 Javascript - finding the paragraph which contain the index page reference
From: Dave_Saunders
Date: Fri, 26 Dec 2008 16:06
Date: Fri, 26 Dec 2008 16:06
5 lines
830 bytes
830 bytes
I didn't actually try it and I'm in an Apple Store right now. I think I left out texts[0]. Try this: myPcount = myPara.parent.texts.itemByRange(0, myPara.index).texts[0].paragraphs.length; Dave
Technical Details
Message-ID:
<59b75803.6@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.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: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.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.6@webcrossing.la2eafNXanI> Date: Fri, 26 Dec 2008 08:06:07 -0800 References: <59b75803.-1@webcrossing.la2eafNXanI> Lines: 7 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit