Mobile app version of vmapp.org
Login or Join
Bethany839

: Overrides for specific element of a master page Is there a way to allow overrides for a specific element on a master page? Right now it seems I can only 'Override All Master Page Items' from

@Bethany839

Posted in: #AdobeIndesign #MasterPage

Is there a way to allow overrides for a specific element on a master page? Right now it seems I can only 'Override All Master Page Items' from the drop down menu.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Bethany839

2 Comments

Sorted by latest first Latest Oldest Best

 

@Miguel516

Just found this question now and thought it was interesting.
Here is a little script that gets the job done.

Just save it as a .jsx in your script folder, select an object on a master page and run the script with a double click.

//DESCRIPTION:Overrides a selected item of the master page in the entire document. #target InDesign

if(! (app.selection.length == 1) ){
alert("ErrorrSelect exactly one item on a master page and try again.");
exit();
}

var sel = app.selection[0];
var masterSpread = sel.parentPage.parent;

if(! (masterSpread.constructor.name == "MasterSpread") ){
alert("ErrorrThe selected item is not on a master page. Select an item on a master page and try again.");
exit();
}

var doc = app.activeDocument;
var side = sel.parentPage.side;

for(var i = 0; i < doc.pages.length; i++){
var page = doc.pages[i];
if(page.side == side && page.appliedMaster == masterSpread){
sel.override(page);
}
}


This should work in most cases, however it will not work in more complicated setups with spreads that contain more than 2 pages etc.

10% popularity Vote Up Vote Down


 

@Nimeshi706

Command/Ctrl+Shift+click the item(s) you want to override on the page you want them overridden on. This will unlock them from the master page and make them in-page elements.

If you want to override all master pages items on several pages, simply highlight the pages in the Pages Panel and choose Override All Master Page Items from thePages Panel menu. However, this will only work for all master items. You can't cherry pick which master items get overridden with this method.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme