Article View: adobe.scripting.indesign
Article #18566Re: Search broken in 2.0.2?
From: Dave Saunders
Date: Tue, 11 Mar 2003 23:29
Date: Tue, 11 Mar 2003 23:29
5 lines
1018 bytes
1018 bytes
There's a bug in 2.0.x that results in (in this case) myFoundItems being undefined if a search finds nothing (I expect that Ole is working with a later version). You can solve this by using a try statement. When you test the value of myFoundItems, use a try and if there's an error it means that none were found. Dave
Technical Details
Message-ID:
<1de83fbc.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de83fbc.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,7731eb9b6068222c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-11 15:37:53 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-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Search broken in 2.0.2? Message-ID: <1de83fbc.1@WebX.la2eafNXanI> Date: Tue, 11 Mar 2003 15:29:33 -0800 References: <1de83fbc.-1@WebX.la2eafNXanI> Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit