Article View: adobe.scripting.indesign
Article #20636Re: AS: Creation of an index from a text file
From: Olivier Berquin
Date: Tue, 18 Jun 2002 09:37
Date: Tue, 18 Jun 2002 09:37
19 lines
1233 bytes
1233 bytes
Hello again, Here is a little test: -- tell application "InDesign 2.0" tell document 1 set WordList to search in every text frame for "Hammer" --> WordList -- > item 1 : text from character 1 to character 7 of text flow id 5968 of document "perel test" -- > item 2 : text from character 1 to character 7 of text flow id 15020 of document "perel test" end tell end tell -- Now, how can I have the page number of these two items ? TIA Olivier.
Technical Details
Message-ID:
<ef91ff0.5@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!nntp2.aus1.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef91ff0.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,dba5b3be0840d143 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-06-18 03:08:13 PST From: "Olivier Berquin" <ob@microscript.be> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!nntp2.aus1.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: AS: Creation of an index from a text file Message-ID: <ef91ff0.5@WebX.aaQKaf7vad4> Date: Tue, 18 Jun 2002 02:37:17 -0700 References: <ef91ff0.-1@WebX.aaQKaf7vad4> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit