🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17490

Re: funny search

#17490
From: Shane Stanley
Date: Fri, 06 Jun 2003 14:59
16 lines
1293 bytes
On 5/6/03 7:14 PM +1000, Dave Saunders, daves@pdsassoc.com, wrote:

> Well, lookee here, this works too:
> 
> tell application "InDesign 2.0.2"
> set myFindText to forced line break as string
> set find preferences to nothing
> set myStory to parent story of selection
> search myStory for myFindText
> end tell 

Sort of. On my Mac that looks for the literal text "forced line break", not
the forced line break character.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BB05FA70.5BFBA%sstanley@myriad-com.com.au>
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!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de960ed.-1@WebX.la2eafNXanI> <1de960ed.21@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-06 08:09:15 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-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: funny search
Message-ID: <BB05FA70.5BFBA%sstanley@myriad-com.com.au>
Date: Fri, 6 Jun 2003 07:59:44 -0700
References: <1de960ed.-1@WebX.la2eafNXanI> <1de960ed.21@WebX.la2eafNXanI>
Lines: 18
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