Blocking/unlocking the pages range
Hi,
I have a request for help
I found here scripts for blocking and unlocking objects. How to make it to work on the scope (range) of the pages (e.g. pages from 15 to 60)?
Or selected pages (e.g. 15, 18 and 25)?
The code looks like this:
1. unlock all items in the document:
app.activeDocument.pageItems.everyItem().locked = false;
2. unlock items just on master pages use this:
app.activeDocument.masterSpreads.everyItem().pageItems.everyItem().locked = false;
3. unlock all items just on pages, not master pages:
app.activeDocument.pages.everyItem().pageItems.everyItem().locked = false;
Thank you for your help and best regards
Piotr_W
