Say for example you have an item on a master page, and you make a change to that item - then on page 521 or something that item was overridden at some stage and is no longer linked to the master.
Anyway to flag or find items like this?
With scripting you can find out if a page item is an overridden master page item, but I don't think there's a way to find out if it has been overridden then detached via Pages panel>Master Pages>Detach Selection from Master, because then it is no different than an item you create directly on a page.
It would be relatively easy to make a script that lists all overridden master page items and where they are.
Here's a thought. This might have some holes in it, so please spot them if you can, so nobody does this if it doesn't really work.
Suppose you move all of the master-page items to the pasteboard of the master page. Those items will not appear on the pasteboards of the document pages, so they will essentially have disappeared. If you look at the document pages and see any master-page items, you can assume that they have been changed. When you are done identifying those changes, you can move the items back from the master-page pasteboards to the live area of the master page, and everything will be back to the way you had it before you started.
What do you think?
Michael, Here's a potential hole, too.
When you override a master item it retains a link to the original until you change some attribute, like fill color, but unchanged attributes will still be linked. If you override, but don't change the position, I think the overridden object would still move to the pasteboard even though it's now flourescent orange instead of robin's egg blue. Not sure exactly what Eugene is looking for in terms of overrides to locate, but I don't think this is going to do it.
Well InDesign knows what attributes have changed, and it won't update the item on a page if it's been changed on the Master Page.
So I was thinking there must be some way to have InDesign check the pages for items that are linked to the master but have had their attributes changed.
There's a difference between an overidden master page item and a master page item that's been overridden and then detached via Pages panel>Master Pages>Detach Selection.
This AppleScript displays a list of all overridden master page items in a document:
There's no way to find detached items because they have the same attributes as any other page item.
A master page item could be overridden and not be changed in anyway and it would still respond to any change from the master. A more complex script could compare the overridden item with its master and determine if any properties have been changed.
I've been i touch with Tomaxxi who kindly sent me a script to test and it's working great.
Once all the kinks are worked out Tomaxxi is going to post the script to the forums.
Thanks for that script there too Rob.
Peter Spier wrote:
…I think the overridden object would still move to the pasteboard…
That's true, but you will only see that item on the pasteboard for pages that are overridden. Other pages won't have the item on the pasteboard, so you will know that they have not.
If this can be done with a script, then there's no need for my little trick, but in the absense of a script, this does work, albeit with a careful look over the pages.
Thanks Marijan! It's great!
To find things that are tagged, go to View>Structure>Show Structure
Then click on the override in the XML structure to bring you to that override.
You also need to turn on View>Structure>Show Tagged Frames
It's very good - thank you.
It can be added to the end of Marijan's script or run after it or run by itself.
The script displays a panel that list all the overridden items and moves to them when you click on the item.
This is a lot easier than using the Structure method
Also can produce a document report of all the overrides.
Europe, Middle East and Africa