Article View: adobe.scripting.indesign
Article #19197Re: set overflow to other frame? (AS)
From: Dave Saunders
Date: Fri, 10 Jan 2003 14:06
Date: Fri, 10 Jan 2003 14:06
18 lines
1765 bytes
1765 bytes
A follow-up. Yesterday, for the first time, I tried to use the overflows property (to determine if I needed to add a new page to a document to accommodate more of the story, as yet overset) and discovered that with 2.0.2 (and possibly earlier versions of 2 -- but definitely not 1.5.2), the overflows property of a text frame returns true if the text flow it is part of overflows, not if the frame itself overflows. Thus, whereas in 1.5.2, given an insertion point in a paragraph, I could say: if overflows of parent text frame of selection then ... in 2.0.2, I've constructed: if overflows of parent text frame of selection and (index of parent text frame of selection = index of last text frame of parent text frame of selection) then ... This would probably be better constructed: tell parent text frame of selection if overflow and (index = index of last text frame) ... except that now I'm stuck telling the wrong thing in the "then" part; hmm how do people deal with this? Dave
Technical Details
Message-ID:
<1de715cc.6@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newspump.sol.net!hammer.uoregon.edu!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de715cc.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,ac9faa6de1d84cb9 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-10 06:08:06 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newspump.sol.net!hammer.uoregon.edu!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: set overflow to other frame? (AS) Message-ID: <1de715cc.6@WebX.la2eafNXanI> Date: Fri, 10 Jan 2003 06:06:19 -0800 References: <1de715cc.-1@WebX.la2eafNXanI> Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit