🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9844

Re: [Mac Indesign CS2 JS] add rectangle as big as the page

#9844
From: nilom
Date: Wed, 19 Jul 2006 15:57
16 lines
2016 bytes
I fixed the "half in - half out" question.
I added a strokeAlignment: 1936998729 (Yuhuu!!! I did it by myself searching in the javascript reference guide) and works great.
I Agree with who says that a UI may slowdown work, but maybe for what I'm going to explain, would help:
Considering that I use an old document with the graphics i need, what I actually do is change the page size using the shortcut "Command" + "Option" + P, I unlock frame's layer, I delete the old frame, I delete the actual guides with another script, after I apply Daniel's first script (with my mofification above), then manually block the frame's layer (otherwise I can't work on the text beneath) and that's all.
A nice UI would make my work flow better.
I will work on that.

As I said in the first post, I am very new to javascript (and not an expert on scripting), but I worked with VBA (with excel on windows systems), with PHP and with Flash's ActionScript (thanks to alot of forum reading).
I am able, so, to modify other scripts.
I will use your scripts to do that.

I thing that wouldn't be nice to ask you to put all toghether (I'm doing it), and if you can't, I'll post (I think in a very long time) what I've ben able to do.

Thanks, thanks, thanks!!!

Nilom (Italy)
Technical Details
Message-ID: <3bc0f435.7@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <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: nilom@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: [Mac Indesign CS2 JS] add rectangle as big as the page
Message-ID: <3bc0f435.7@webcrossing.la2eafNXanI>
Date: Wed, 19 Jul 2006 08:57:57 -0700
References: <3bc0f435.-1@webcrossing.la2eafNXanI>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing