🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17469

Re: funny search

#17469
From: Shane Stanley
Date: Thu, 05 Jun 2003 15:06
23 lines
2001 bytes
On 5/6/03 1:47 AM +1000, Roy Marshall, royston_marshall@hotmail.com, wrote:

> excuse me for going back to the point, but I dont understand why in one
> instance the text "forced line break" worked fine, but in the immediate next
> section failed.  Also, why sometimes the same search replaced OK using the
> command "^n" and again in the same search, actually inserted the string ^n.

Let me try again. For the search command itself, think of it as effectively
driving the user interface -- the same rules apply, so you use conventions
like "^n". (If you look in the UI after a script search, you'll actually see
your search strings.)

Enumerations like "forced line break" belong to InDesign, and can be used in
setting the contents directly, but only one character at a time. You can't
concatenate two such enumerations, or an enumeration plus some other text.

"return" and "tab" are built-in predefined variables in AppleScript, and are
really just alternative methods of entering a tab and return. They _can_ be
concatenated with other text, and can be used everywhere except the search
command.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BB04AA9D.5BF0E%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de960ed.-1@WebX.la2eafNXanI> <1de960ed.18@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,94d443c28e570306
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-05 08:08:08 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: funny search
Message-ID: <BB04AA9D.5BF0E%sstanley@myriad-com.com.au>
Date: Thu, 5 Jun 2003 08:06:53 -0700
References: <1de960ed.-1@WebX.la2eafNXanI> <1de960ed.18@WebX.la2eafNXanI>
Lines: 38
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit