Article View: adobe.scripting.indesign
Article #9830Re: [Mac Indesign CS2 JS] add rectangle as big as the page
From: Revier_Daniel
Date: Wed, 19 Jul 2006 08:47
Date: Wed, 19 Jul 2006 08:47
10 lines
1205 bytes
1205 bytes
In my eyes it's a quick and dirty solution. I would prefer a user dialog to select stroke color, stroke weight and fill color. Even to select the page or a page range on which to place new rectangles. I'll post later on to show what i mean. Regarding the stroke problem: I think this should be changed by Adobe in the future. The strokeWeight is neither added to the geometric Bounds of a box (compare to CSS box model) nor is it substraced of the box. So to fix this problem you will have to define the rectangles position depending on the stroke weight. Daniel
Technical Details
Message-ID:
<3bc0f435.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0f435.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,9f82f6293d15dcff X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Revier_Daniel@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: [Mac Indesign CS2 JS] add rectangle as big as the page Message-ID: <3bc0f435.3@webcrossing.la2eafNXanI> Date: Wed, 19 Jul 2006 01:47:56 -0700 References: <3bc0f435.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing