Article View: adobe.scripting.indesign
Article #2221Re: [CS3 JS] Finding paragraph containing table
From: Dave_Saunders
Date: Tue, 06 Jan 2009 19:13
Date: Tue, 06 Jan 2009 19:13
5 lines
774 bytes
774 bytes
That's because the index is a count of the characters in the story. You need: alert(oStory.characters[iPos-1].paragraphs[0].contents); Dave
Technical Details
Message-ID:
<59b7707c.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7707c.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,590e229e2aac9ce X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS3 JS] Finding paragraph containing table Message-ID: <59b7707c.0@webcrossing.la2eafNXanI> Date: Tue, 6 Jan 2009 11:13:40 -0800 References: <59b7707c.-1@webcrossing.la2eafNXanI> Lines: 6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit