Article View: adobe.scripting.indesign
Article #20002Re: Search for First Instance
From: Shane Stanley
Date: Tue, 12 Nov 2002 04:36
Date: Tue, 12 Nov 2002 04:36
15 lines
1157 bytes
1157 bytes
You could try a whose clause: tell application "InDesign 2.0.1" tell document 1 try set theStyle to paragraph style "B" paragraph 1 of every story whose applied paragraph style is theStyle on error -- style not use end try end tell end tell -- Shane Stanley, sstanley@myriad-com.com.au
Technical Details
Message-ID:
<B9F6D072.435A3%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de68b11.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,6e10e1e74c84ca7 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-11 20:44:04 PST From: Shane Stanley <sstanley@myriad-com.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Search for First Instance Message-ID: <B9F6D072.435A3%sstanley@myriad-com.com.au> Date: Mon, 11 Nov 2002 20:36:18 -0800 References: <1de68b11.-1@WebX.la2eafNXanI> Lines: 16 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit