Article View: adobe.scripting.indesign
Article #20785Re: Where is Search described?
From: Dave Saunders
Date: Thu, 06 Jun 2002 19:07
Date: Thu, 06 Jun 2002 19:07
13 lines
1433 bytes
1433 bytes
Aha. Thanks. I was looking for find attributes when I should have been looking for find preferences.
Shucks.
Still; onwards and upwards.
For the record, I ended up this:
on run {findString, changeString} try tell application "InDesign 2.0.1" set find preferences to nothing set change preferences to nothing if class of selection is text then search selection for findString replacing with changeString else search parent of selection for findString replacing with changeString end if return "OK" end tell on error return "Error" end try end run
I'm using this as a REALbasic method attached to a variety of buttons that call for various common S&Rs.
Dave
Technical Details
Message-ID:
<ef8f6f0.1@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!newsfeed.wirehub.nl!news.stealth.net!news.stealth.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef8f6f0.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,65d699e464a96c38 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-06-06 12:38:32 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!newsfeed.wirehub.nl!news.stealth.net!news.stealth.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Where is Search described? Message-ID: <ef8f6f0.1@WebX.aaQKaf7vad4> Date: Thu, 6 Jun 2002 12:07:55 -0700 References: <ef8f6f0.-1@WebX.aaQKaf7vad4> Lines: 31 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit