🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17256

Re: AS Different search code

#17256
From: Jay Fraser
Date: Fri, 20 Jun 2003 15:58
9 lines
1538 bytes
I can answer part of your question: AS can be flexible when it comes to "real english" language: you can say "search in myStory" or "search myStory"; you can say "get the last character", "get last character", or even "get character -1".

Script editor will sometimes fix your wording. Watch carefully when you hit "Check Syntax" & you might see some changes made.

The other part of your question: I haven't figured that out yet. You can phrase a search about 4 different ways. I don't know if there are nuances involved in the results.

One of the trickiest things for me to learn has been ownership. You can tell the application to search & get one result, but if you tell the page to search you might get something else.

Jay
Technical Details
Message-ID: <1de99def.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!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de99def.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,a5c43f8c91b94185
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-20 09:07:47 PST
From: "Jay Fraser" <jayfraser@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: AS Different search code
Message-ID: <1de99def.0@WebX.la2eafNXanI>
Date: Fri, 20 Jun 2003 08:58:04 -0700
References: <1de99def.-1@WebX.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit