🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16088

Re: Confusion about pages and spreads

#16088
From: Olav_Kvern
Date: Wed, 15 Oct 2003 08:36
20 lines
1531 bytes
Eelko--

When any part of an object touches the left-most page of a spread--including the stroke of the object--InDesign will think that that page "owns" the object. When you create an object, it appears at 0,0--which is usually the upper-left corner of the page.

So what's happening is that you're telling page 3 to create an object. The edge of the object touches page 2, so setting the geometric bounds of the object will move it to that location *on page 2*, not page 3.

To get around this, I move the object slightly after I create it. Note that the Move method has two parameters--moveTo and moveBy. We want moveBy, the second one.



Rem Given a rectangle "myRectangle" 
myRectangle.move , Array(1, 1)



Does that help? If not, make sure that the ruler origin is set to page origin.

Thanks,

Ole
Technical Details
Message-ID: <2ccddd87.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccddd87.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,92dc2d163d22d37e
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-15 01:37:42 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Confusion about pages and spreads
Message-ID: <2ccddd87.0@webx.la2eafNXanI>
Date: Wed, 15 Oct 2003 01:36:53 -0700
References: <2ccddd87.-1@webx.la2eafNXanI>
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit