Article View: adobe.scripting.indesign
Article #18016Re: Possible bug in Story search (AS).
From: John Darnell
Date: Mon, 05 May 2003 19:49
Date: Mon, 05 May 2003 19:49
18 lines
1763 bytes
1763 bytes
Dave: Thanks for replying. Unfortunately, the script crashes on the search command, not when I test the results of the search. Actually, all I'm trying to do is replace text I no longer need with a null string. BTW, additional testing revealed that I needed as little as the following in the text frame to force a crash: [~B][~I] After all, we have some of the most creative and imaginative people actually creating the scripts right here in the plant. (~I)What if they do a really bad job of it?[~I] (~I)(~B)Do I have enough checks and balances installed to make this process robust?[~B][~I] After testing the above, I said "Aha! The script doesn't like searching for the same string twice!" (note the same string at the beginning and the end of the text) So I deleted all text except the following: [~B][~I][~B][~I] and ran the script. InDesign did not crash and the script ran successfully. So, I am well and truly stumped. TIA.
Technical Details
Message-ID:
<1de9003f.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9003f.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e0bb922fa0b0dec7 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-05 13:08:07 PST From: "John Darnell" <John.Darnell@Walsworth.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Possible bug in Story search (AS). Message-ID: <1de9003f.1@WebX.la2eafNXanI> Date: Mon, 5 May 2003 12:49:13 -0700 References: <1de9003f.-1@WebX.la2eafNXanI> Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit