Article View: adobe.scripting.indesign
Article #2489Re: [CS4][JS] Accessing skewed text items
From: Peter Kahrel
Date: Wed, 17 Dec 2008 17:54
Date: Wed, 17 Dec 2008 17:54
21 lines
1038 bytes
1038 bytes
You say something like this:
var myFound = app.activeDocument.findText();
which creates an array (myFound) of of all found items. You can process that array as usual, i.e.
for (i = 0; i < myFound.length; i++)
// do something with each myFound[i]
Peter
Technical Details
Message-ID:
<59b74b64.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.n-ix.net!newsfeed.freenet.de!195.208.113.67.MISMATCH!goblin1!goblin2!goblin.stu.neva.ru!news4us.nl!webcrossingReferences:
<4949337E.70400@dougneale.co.uk>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,3c0799f6a55c6d61 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Peter Kahrel" <kahrel@kahrel.plus.com> Newsgroups: adobe.scripting.indesign Subject: Re: [CS4][JS] Accessing skewed text items Message-ID: <59b74b64.0@webcrossing.la2eafNXanI> Date: Wed, 17 Dec 2008 09:54:56 -0800 References: <4949337E.70400@dougneale.co.uk> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.n-ix.net!newsfeed.freenet.de!195.208.113.67.MISMATCH!goblin1!goblin2!goblin.stu.neva.ru!news4us.nl!webcrossing