Article View: adobe.scripting.indesign
Article #17535Re: funny search
From: Dave Saunders
Date: Tue, 03 Jun 2003 15:50
Date: Tue, 03 Jun 2003 15:50
13 lines
1251 bytes
1251 bytes
Yes. You're thinking of yourself as using the code for the find and the enumeration for the replace. But you see, you're not using replace in the search sense, you're setting the contents of the result of a search. If you want to use code on both sides then you should say: set mytext2 to search in myStory for "^n^t" replacing with "^n" but, if you do that, you might crash because of a bug where replacing certain kinds of short strings with shorter strings can cause a crash. Dave
Technical Details
Message-ID:
<1de960ed.5@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de960ed.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,94d443c28e570306 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-03 09:07:52 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: funny search Message-ID: <1de960ed.5@WebX.la2eafNXanI> Date: Tue, 3 Jun 2003 08:50:41 -0700 References: <1de960ed.-1@WebX.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit