Article View: adobe.scripting.indesign
Article #19866Re: Database Driven Catalog - ???
From: Olav Kvern
Date: Tue, 19 Nov 2002 20:40
Date: Tue, 19 Nov 2002 20:40
23 lines
1672 bytes
1672 bytes
Brian--
A note about "page ownership"--it's very easy for objects to end up on the wrong page in a spread. When you tell page 2 of the spread to create a new page item, InDesign places that page item at the upper-left corner of the page. If the stroke weight of the page item is greater than zero, some part of the stroke touches page 1 of the spread...which makes InDesign think that the page item belongs to page 1 of the spread, not page 2.
To get around this problem, I typically "bump" the newly-create objects slightly. Something like this:
Rem Assumes you have a page reference "myPage"
set myRectangle = myPage.Rectangles.Add
Rem Move the page item down and to the right by 1 pica
myRectangle.Move , Array ("1p", "1p")
At this point (provided the stroke weight is not greater than 12 points), the ownership of the page item is clear.
Might this be related to your problem?
Thanks,
Ole
Technical Details
Message-ID:
<1de69529.35@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de69529.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,4348409c0a586298 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-19 13:12:04 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Database Driven Catalog - ??? Message-ID: <1de69529.35@WebX.la2eafNXanI> Date: Tue, 19 Nov 2002 12:40:28 -0800 References: <1de69529.-1@WebX.la2eafNXanI> Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit