Article View: adobe.scripting.indesign
Article #1585Re: CS3 Javascript - finding the paragraph which contain the index page reference
From: Dave_Saunders
Date: Sat, 31 Jan 2009 17:34
Date: Sat, 31 Jan 2009 17:34
3 lines
972 bytes
972 bytes
The index property of a text object is the index within the story. So, if you want the offset of a text object within some other entity, you have to do it by comparing the values of the indexes of the two entities (although, in the case of a text frame, you want the index of the first character of the frame, not the frame itself). Dave
Technical Details
Message-ID:
<59b75803.24@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.24@webcrossing.la2eafNXanI> Date: Sat, 31 Jan 2009 09:34:44 -0800 References: <59b75803.-1@webcrossing.la2eafNXanI> Lines: 7 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit