🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17254

AS Different search code

#17254
From: Roy Marshall
Date: Fri, 20 Jun 2003 14:28
16 lines
1086 bytes
I am confused why at times different code is needed for a search, also the "in" word is missing from some and still works!
example:-

set myResult to search in myStory for ". "
where mystory is parent story of a previously found character

and

set myselection to selection
	set myheadings to search myselection for return & return

I just want to know in laymans terms why the difference?

Cheers

Roy
Technical Details
Message-ID: <1de99def.-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!nntp.infostrada.it!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,a5c43f8c91b94185,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-20 07:40:01 PST
From: "Roy Marshall" <royston_marshall@hotmail.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!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AS Different search code
Message-ID: <1de99def.-1@WebX.la2eafNXanI>
Date: Fri, 20 Jun 2003 07:28:07 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit