Hi guys, I want to select everything in my 190 pages and move it 5 mm higher, is it possible? I used the text function in the Mastro pages, but I had to manually change the size of the text box many times in the various pages so if I modify it in the Mastro it changes just some of them
Make sure that none of your spreads is viewed rotated before running the script.
app.documents.pages.everyItem().pageItems.everyItem().move( undefined , [ 0 , "-5mm"] );
You cannot select "everything" in a document. You can only select "everything" on a single spread, the active spread.
But you can address everything in a document, if everything means all pageItems.
But in your case you want to address not all pageItems in the document, but:
1. pageItems on pages, not masters
2. not pageItems that are nested into each other like items grouped or items anchored or items pasted inside other items
Thank you very much!!