• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

add 4 pages

New Here ,
Dec 16, 2022 Dec 16, 2022

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

 

TOPICS
Scripting

Views

130

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 16, 2022 Dec 16, 2022

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
...

Likes

Translate

Translate
Guide ,
Dec 16, 2022 Dec 16, 2022

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

 

Can automate anything - as long as it doesn't require A.I.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2022 Dec 16, 2022

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.

Mike Witherell

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2022 Dec 16, 2022

Copy link to clipboard

Copied

can have a script for the above request, need to change more than 100 documents.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2022 Dec 16, 2022

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});
}

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 16, 2022 Dec 16, 2022

Copy link to clipboard

Copied

LATEST

Thanks a Lot.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines