Copy link to clipboard
Copied
So, I have a master page featuring three buttons at the footer.
These are the usual [email] + [facebook] + [twitter] buttons.
This is a magazine and (once published) each button forwards (or shares) that specific page the reader is on.
Currently I have to manually release all buttons in all pages (command+shift+click on object), then also manually update the URL link in the Interactive panel. I was wondering if there's a way I can realease just that specific buttons (which are contained in their own layer) of the master page.
Something like selecting them in the master page and having the option to "release on all pages", rather than selecting all pages and releasing EVERYTHING from the master page.
Am I missing something? Thanks!
<Title renamed by MOD>
Copy link to clipboard
Copied
Hi, Thank you for contacting us. Please share a screen recording depicting the complete workflow so that we can assist you better.
^VS
Copy link to clipboard
Copied
Thanks Vivek, but tbh I dont think a screen recording would help that much.
It's just a matter of knowing if I can selectively release objects from the master page without going [command+shift+click] one by one throughout the whole document pages or selecting all pages and releasing EVERYTHING from the master page.
Thanks!
Copy link to clipboard
Copied
If this is possible, and I'm not sure it is, it would be via scripting.
Copy link to clipboard
Copied
Easily doable via scripting - what platform are you on?
Including URL update.
Copy link to clipboard
Copied
if I can selectively release objects from the master page
Hi @Juan Ramón36773355tdwl , Select the master page item on the parent page and run this script:
var sel = app.activeDocument.selection;
var p = app.activeDocument.pages.everyItem().getElements()
if (sel.length>0) {
if (sel[0].parent.constructor.name == "MasterSpread") {
var mpid = sel[0].id;
var mi;
for (var i = 0; i < p.length; i++){
mi = p[i].masterPageItems;
for (var j = 0; j < mi.length; j++){
if (mi[j].id == mpid) {
mi[j].override(p[i])
}
};
};
} else {alert("Select a Parent Page Item")}
} else {alert("Select a Parent Page Item")}
Copy link to clipboard
Copied
Thanks Rob! Will sandbox my file and give it a try. Will let you know how it goes. I'm on Mac OS Monterrey btw (InDesign 19.4)