Article View: adobe.scripting.indesign
Article #15502Finding first occurence of a specific style on each page?
From: Avi_Burstein
Date: Sat, 06 Dec 2003 20:57
Date: Sat, 06 Dec 2003 20:57
3 lines
1073 bytes
1073 bytes
I've got an encyclopedia that has each topic prefaced with the topic name in a specific style. I'd like to make a script that finds the first occurrence of this style on each page and then create a textbox at the top of the page to copy that first topic name to. Optionally, I might want to do the last topic on the page too. I figure I need to use the FindText method, but I can't seem to figure out exactly how to work it. Can anyone help me with this? Avi
Technical Details
Message-ID:
<2ccec7d4.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,701fc380ee08b540,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-06 13:07:46 PST From: Avi_Burstein@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Finding first occurence of a specific style on each page? Message-ID: <2ccec7d4.-1@webx.la2eafNXanI> Date: Sat, 6 Dec 2003 12:57:09 -0800 Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit