🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15019

Re: Frame Overflows

#15019
From: Dave_Saunders
Date: Sat, 03 Jan 2004 15:07
15 lines
1547 bytes
True enough, but if you have a four-frame story that overflows, only the last one overflows according to the UI, yet the scripting system tells you that all of them overflow, so you have to do:

      if((myFrame.overflows) && (myFrame.textFrameIndex == myStory.textFrames.length
      - 1)) {




In order to discover if you're really dealing with an overflowing text frame. The point is that if you are, you have to be prepared to treat the overflowing text differently from when you're working with an intermediate frame.

I have yet to find any benefit from this behavior. Why not let the story have an overflows setting so that if all you want to know is that the story overflows, then that's where you look, but if you want to know about the particular frame then all you need to do is look at the frame.

It's not that big a deal, but it irks me every time and I almost always start out by getting it wrong.

Dave
Technical Details
Message-ID: <2ccf2ce7.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf2ce7.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,c291dc1e364eebe7
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-03 07:37:40 PST
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Frame Overflows
Message-ID: <2ccf2ce7.1@webx.la2eafNXanI>
Date: Sat, 3 Jan 2004 07:07:34 -0800
References: <2ccf2ce7.-1@webx.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit