🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1147

Re: How to align objects with distribute align??????

#1147
From: Kasyan_Servetsky
Date: Wed, 18 Feb 2009 07:07
8 lines
1036 bytes
Here is a few examples, check out OMV for detailed description of parameters:

var myDoc = app.activeDocument; 
var mySel = myDoc.selection;
 
myDoc.distribute(mySel, DistributeOptions.HORIZONTAL_SPACE, AlignDistributeBounds.PAGE_BOUNDS, false); 
myDoc.distribute(mySel, DistributeOptions.VERTICAL_CENTERS, AlignDistributeBounds.MARGIN_BOUNDS); 
myDoc.distribute(mySel, DistributeOptions.VERTICAL_SPACE, undefined, true, 30);
Technical Details
Message-ID: <59b7f63d.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b7f63d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,475f9987d6c5df31
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kasyan_Servetsky@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: How to align objects with distribute align??????
Message-ID: <59b7f63d.0@webcrossing.la2eafNXanI>
Date: Tue, 17 Feb 2009 23:07:49 -0800
References: <59b7f63d.-1@webcrossing.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit