Anonymous
My feedback
1 result found
-
128 votes
Hi All, thanks for this feature suggestion.
If I understand this correctly the idea here is that you need a faster way to be able to apply Master Pages to the various pages in the document. One use case is that you want to apply a particular master page to Even and Odd pages.
Are there other such scenarios too, where you need more support. It would be helpful if you can mention other such scenarios.
Thanks
An error occurred while saving the comment An error occurred while saving the comment Anonymous commentedThis is a script I mustered from this thread
https://forums.adobe.com/thread/2153387// AlternateMasterPage A-LHS B-RHS
var d=app.documents[0];
var masterSpreadsD = d.masterSpreads;
var pagesD = d.pages;
var totalNumber = 2;
var master1Name = "A-Master";
var master2Name = "B-Master";
for(var n=0;n<pagesD.length;n=n+totalNumber){
pagesD[n].appliedMaster = masterSpreadsD.itemByName(master1Name);
};
for(var n=1;n<pagesD.length;n=n+totalNumber){
pagesD[n].appliedMaster = masterSpreadsD.itemByName(master2Name);
};This is the reverse script with other options
var d=app.documents[0];
var masterSpreadsD = d.masterSpreads;
var pagesD = d.pages;
//Total number of changing master spreads:
var totalNumber = 4;
//IMPORTANT!
//Edit the names of your master spreads here:
var master1Name = "A-Master";
var master2Name = "B-Master";
//var master1Name = "A-Master";
//var master2Name = "B-Master";
//4 loops for 4 master spreads (could be improved, but this is an adhoc script, so hey!):
//Loop 1:
for(var n=0;n<pagesD.length;n=n+totalNumber){
pagesD[n].appliedMaster = masterSpreadsD.itemByName(master1Name);
};
//Loop 2:
for(var n=1;n<pagesD.length;n=n+totalNumber){
pagesD[n].appliedMaster = masterSpreadsD.itemByName(master1Name);
};
//Loop 3:
for(var n=2;n<pagesD.length;n=n+totalNumber){
pagesD[n].appliedMaster = masterSpreadsD.itemByName(master2Name);
};
//Loop 4:
for(var n=3;n<pagesD.length;n=n+totalNumber){
pagesD[n].appliedMaster = masterSpreadsD.itemByName(master2Name);
};
//If you want a total number of 5 altering master spreads,
//just add a new loop, increase the number to 4 for n, add a new variable for master5Name and add it to the loop
//Also increase totalNumber to 5
HMMMM
With your NCR forms; i'm assuming that the content of the black and white is the same as the colour.
Why not just have a single master page with three layers
The base layer is
Black & White layer - A black and white version of the document
Middle layer is
Colour layer - A colour version of the document
The top layer is
Number Layer - A common layer. Always switched on.
It has only 2 Frames containing your numbers. The trick here is the make the numbers variable. This is done by
Menu: Type -> Insert Special Character -> Markers -> Current Page Number.
You can alter the way the page number is shown by going on the numbering and section options and choosing the styling there. Or adding other common text to the text box on the master page.
When going to print or make PDFs just either turn off the black and white or Colour layer.
If you need these side by side then take a look at this
https://indesignsecrets.com/previousnext-page-number-on-same-page.php
cheers . bill