Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

44
Views
Converting Document Pages to Master Pages

I want to convert active document pages to master pages. I have learned how to convert by watching this video. https://www.youtube.com/watch?v=o71TyJ1IkNE Any possible way to convert using script.

Thanks in Advance.

7 months ago · Juan Pablo Isaza
1 answers
Answer question

0

This script makes a new master based on current page:

app.panels.item('$ID/Pages').visible = true;
app.menuActions.itemByName("$ID/Save as Master").invoke();

If you have several pages you can iterate them this way:

app.panels.item('$ID/Pages').visible = true;

var pages = app.activeDocument.pages;

for (var i=0; i<pages.length; i++) {
    pages[i].select();
    app.menuActions.itemByName("$ID/Save as Master").invoke();
}

It works for spreads as well. (InDesign CC 2017)

7 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.