Copy link to clipboard
Copied
add 4 pages before the current document
apply master pages for added pages and page number option as lower roman
Give this a shot. Change "A-Parent" to whatever the name of the parent you want to apply is. Of course, all the documents you have open need to have that named parent spread.
var docs = app.documents;
var n = docs.length;
var doc, i, master;
while(n--) {
doc = docs[n];
i = 4;
master = doc.masterSpreads.itemByName("A-Parent");
while(i--) {
doc.pages.add(LocationOptions.BEFORE, doc.pages[0], {appliedMaster: master});
}
doc.sections.add(doc.pages[0], {pageNumberStyl
...
Copy link to clipboard
Copied
You can apply different MasterSpread to the newly added pages - simply by Drag&Drop.
https://helpx.adobe.com/uk/indesign/using/master-pages.html
Copy link to clipboard
Copied
Layout > Pages > Insert Pages
Select the first of these inserted pages, and then click the Pages panel menu button > Numbering and Section Options ... where you can choose lower case roman numerals.
Copy link to clipboard
Copied
can have a script for the above request, need to change more than 100 documents.
Copy link to clipboard
Copied
Give this a shot. Change "A-Parent" to whatever the name of the parent you want to apply is. Of course, all the documents you have open need to have that named parent spread.
var docs = app.documents;
var n = docs.length;
var doc, i, master;
while(n--) {
doc = docs[n];
i = 4;
master = doc.masterSpreads.itemByName("A-Parent");
while(i--) {
doc.pages.add(LocationOptions.BEFORE, doc.pages[0], {appliedMaster: master});
}
doc.sections.add(doc.pages[0], {pageNumberStyle: PageNumberStyle.LOWER_ROMAN});
}
Copy link to clipboard
Copied
Thanks a Lot.