Article View: adobe.scripting.indesign
Article #2500Re: [IDCS3] [JS] Access/Retrieve part of a Story by Index
From: gfellenz
Date: Sat, 13 Dec 2008 16:41
Date: Sat, 13 Dec 2008 16:41
15 lines
910 bytes
910 bytes
$.writeln(_findErg[i].parent.characters.itemByRange(index-15, index+15+_findErg[i].length).texts[0].contents);
thanks dave,
characters.itemByRange()
is what i've been searching for! haven't looked into the character object ...
regards,
gregor
Technical Details
Message-ID:
<59b74298.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b74298.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,851dc1f147eb570b X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: gfellenz@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [IDCS3] [JS] Access/Retrieve part of a Story by Index Message-ID: <59b74298.1@webcrossing.la2eafNXanI> Date: Sat, 13 Dec 2008 08:41:16 -0800 References: <59b74298.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit