🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18565

Re: Search broken in 2.0.2?

#18565
From: Olav Kvern
Date: Tue, 11 Mar 2003 23:24
29 lines
1135 bytes
Adam--

Hmm. The version I have works fine here. A couple of thoughts:

1. Add the following line before/after the line where we reset the change preferences:



set find preferences to nothing 




2. Surround the repat loop with a test to see if myFoundItems contains anything:



if (count myFoundItems)>0 then 
repeat with myCounter from (count myFoundItems) to 1 by -1 
... 
end repeat 
end if 




Thanks,

Ole
Technical Details
Message-ID: <1de83fbc.0@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!WebX
References: <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: "Olav Kvern" <okvern@adobe.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.0@WebX.la2eafNXanI>
Date: Tue, 11 Mar 2003 15:24:33 -0800
References: <1de83fbc.-1@WebX.la2eafNXanI>
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit