🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17740

Re: Simple Find

#17740
From: Alan Stearns
Date: Tue, 20 May 2003 22:25
4 lines
1110 bytes
The Search method returns a collection of matches - and doesn't interact with the selection code at all. In order to select something, you have to use the Select event. To select the first match from a particular search, you'd do something like this:

Set theResult = myDocument.Search (TextToFind)
myDocument.Select theResult.Item(1)
Technical Details
Message-ID: <1de93436.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeeds.sol.net!skynet.be!skynet.be!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de93436.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,ef7d1fccab21e5ed
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-20 15:37:48 PST
From: "Alan Stearns" <astearns@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeeds.sol.net!skynet.be!skynet.be!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: Simple Find
Message-ID: <1de93436.0@WebX.la2eafNXanI>
Date: Tue, 20 May 2003 15:25:13 -0700
References: <1de93436.-1@WebX.la2eafNXanI>
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit