Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 77806

How can I get my Indesign script to apply to all pages in the document?

$
0
0

My script (java) shown below will only apply to the first page of the document. How can i get it to apply to all pages of my document? What am I missing? Thanks.

 

scirpt:

 

myDocument = app.activeDocument

with (myDocument.pages.item(0).marginPreferences){

columnCount = 1;

//columnGutter can be a number or a measurement string.

columnGutter = "0";

bottom = "0"

//When document.documentPreferences.facingPages == true,

//"left" means inside; "right" means outside.

left = "0"

right = "0"

top = "0"

inside = "0"

}


Viewing all articles
Browse latest Browse all 77806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>