: 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
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.
More posts by @Bethany839
2 Comments
Sorted by latest first Latest Oldest Best
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.
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.