🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20861

Re: list all overset text frames??

#20861
From: Shane Stanley
Date: Sun, 02 Jun 2002 22:15
30 lines
1904 bytes
in article ef8e037.6@WebX.aaQKaf7vad4, Olav Kvern wrote:

> I don't quite follow Shane's logic in the initial script--why not just iterate
> through the stories, checking the overset property of the last frame in the
> story's frames collection?

I was trying to avoid iteration, for the sake of speed. Assuming there are
no overset boxes, the script as written will only send one event to ID to do
most of the work.

OTOH, it could have been written:

tell application "InDesign 2.0.1"
 tell document 1
  -- following should return true where overset
  set theFrames to overflows of parent text frame of character -1 of
(stories whose length > 0)
  set thePages to ""
  set theSpreads to ""
  repeat with i from 1 to count of theFrames
   if item i of theFrames = true then
...


to be a bit more obvious. but I was avoiding overflows because I know there
has been the odd glitch with it, and because I was hoping to come up with a
simple variation that would also handle table cells.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <B920D61F.31BFF%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef8e037.-1@WebX.aaQKaf7vad4> <ef8e037.6@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,eca6aaad1384c6e8
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-06-02 15:37:29 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-01!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: list all overset text frames??
Message-ID: <B920D61F.31BFF%sstanley@myriad-com.com.au>
Date: Sun, 2 Jun 2002 15:15:28 -0700
References: <ef8e037.-1@WebX.aaQKaf7vad4> <ef8e037.6@WebX.aaQKaf7vad4>
Lines: 37
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