🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20596

AS: Creation of an index from a text file

#20596
From: Olivier Berquin
Date: Fri, 14 Jun 2002 13:17
15 lines
1263 bytes
Hello everybody,
 
 I would like to do this think in InDesign: an index from a file.
 In other words, I've a text file with a list of 'words'. I would like to retrieve these words in my InDesign document.
 
 I've wrote this in QuarkXPress (this part of my script return every page where the word 'WordToFind' appears). How I can do this in InDesign ?
 
 set WordToFind to "Hammer"
 set PageList to (page number of page 1 of (every text box whose its text contains WordToFind))

 
 
 TIA
 
 Olivier
Technical Details
Message-ID: <ef91ff0.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!nntp2.aus1.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!proxad.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,dba5b3be0840d143,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-06-14 06:39:02 PST
From: "Olivier Berquin" <ob@microscript.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!nntp2.aus1.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!proxad.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AS: Creation of an index from a text file
Message-ID: <ef91ff0.-1@WebX.aaQKaf7vad4>
Date: Fri, 14 Jun 2002 06:17:24 -0700
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit