🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17739

Simple Find

#17739
From: Jon Swenson Tellekson
Date: Tue, 20 May 2003 21:26
7 lines
1194 bytes
The I am very new to InDesign,

I simply want to use a VBScript to search for a word (input elsewhere) and then have the resulting words HIGHLIGHTED so that someone can begin typing. The search and replace method works fine in my scripts, but I want to mimic the find dialog box (without opening it and waiting for this to take place) so that the person sitting at the computer sees the selected word.
Why does this next line not result in the word being "selected"?
myInDesign.Search TextToFind,True,False

Jon
Technical Details
Message-ID: <1de93436.-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!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,ef7d1fccab21e5ed,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-20 14:38:26 PST
From: "Jon Swenson Tellekson" <jont@freedomofspeech.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Simple Find
Message-ID: <1de93436.-1@WebX.la2eafNXanI>
Date: Tue, 20 May 2003 14:26:02 -0700
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit