🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20422

Re: Dave Saunders' Running Heads Script

#20422
From: Shane Stanley
Date: Tue, 30 Jul 2002 23:03
15 lines
1415 bytes
in article ef9de98.20@WebX.aaQKaf7vad4, Dave Saunders wrote:

> But this just errored out when Filter hit 11, so there's something wrong with
> the statement that gets the word, but I always have trouble with "Whose"
> statements and generally avoid them like the plague.

They're worth persisting with. In this case it looks like you need some
brackets:

  set theWord to word 1 of (paragraph -1 whose length > Filter)

My original suggestion (which I didn't test) probably did too.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <B96D5863.379DD%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef9de98.-1@WebX.aaQKaf7vad4> <ef9de98.20@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,37e35bfe49790ac7
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-07-30 16:16:09 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-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Dave Saunders' Running Heads Script
Message-ID: <B96D5863.379DD%sstanley@myriad-com.com.au>
Date: Tue, 30 Jul 2002 16:03:31 -0700
References: <ef9de98.-1@WebX.aaQKaf7vad4> <ef9de98.20@WebX.aaQKaf7vad4>
Lines: 18
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.3
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit