Article View: adobe.scripting.indesign
Article #487Re: InsertionPoints problem
From: Martin Fischer
Date: Mon, 23 Mar 2009 13:10
Date: Mon, 23 Mar 2009 13:10
14 lines
908 bytes
908 bytes
Hello Kumar, the return (\r) is part of a paragraph. So the last insertion point of a paragraph is located after the return - at the beginning of the next paragraph. Use the insertion point before the last one instead. In JS: var myInsPoint = myPara.insertionPoints.item(-2); Martin
Technical Details
Message-ID:
<59b861a8.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b861a8.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f0f26fb0f45e72bf X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Martin Fischer" <Martin.Fischer@online.de> Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: InsertionPoints problem Message-ID: <59b861a8.0@webcrossing.la2eafNXanI> Date: Mon, 23 Mar 2009 06:10:29 -0700 References: <59b861a8.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit