Article View: adobe.scripting.indesign
Article #16446Re: [VB] Scripting Bug?
From: Dave Saunders
Date: Tue, 16 Sep 2003 12:13
Date: Tue, 16 Sep 2003 12:13
5 lines
1274 bytes
1274 bytes
Assuming that the crash is a cross platform thing, it is most likely to happen when replacing found text with no text. I think there are other situations, too. It is definitely a confirmed bug on the AppleScript side, and I suspect that it is in fact a cross-platform bug. The workaround is to use the Find only to make a list of all the found instances and then iterate through the list, replacing the text by setting the contents of the found strings. (That last phrase reflects the AppleScript terminology -- I hope it translates fairly obviously into VB.) Dave
Technical Details
Message-ID:
<2ccd6d42.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccd6d42.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b6a6e8e82a9ca1ff X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-16 05:38:16 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [VB] Scripting Bug? Message-ID: <2ccd6d42.2@webx.la2eafNXanI> Date: Tue, 16 Sep 2003 05:13:49 -0700 References: <2ccd6d42.-1@webx.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit