🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
3 messages
3 total messages Started by ahakkim Tue, 17 Feb 2009 13:28
How to align objects with distribute align??????
#1115
Author: ahakkim
Date: Tue, 17 Feb 2009 13:28
3 lines
682 bytes
Hi all

could u tell me, how to align two or more selected objects in javascript using distribute align and how to call "use spacing".
Re: How to align objects with distribute align??????
#1147
Author: 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);
Re: How to align objects with distribute align??????
#1186
Author: ahakkim
Date: Thu, 19 Feb 2009 11:06
1 lines
686 bytes
thank you very much kasyan.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads