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.
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:
http://www.zenodesign.com/forum/GetOverridden.zip
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.
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.
I've wrote short script to tag overridden master page items with custom XML tag.
It also works with anchored items, and have statistics at the end of the script.
Script can be found here:
tomaxxiMARK-UP 1.0d on http://tomaxxi.com/downloads
--
Marijan (tomaxxi)
My script is found here forums.adobe.com/thread/1042604?tstart=0Flag master page items overrides?
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.
Enjoy
Trevor
North America
Europe, Middle East and Africa
Asia Pacific