You need to loop through all the page items on the thread and check
the overridden property of each one.
Yes you are right Harb but if someone override and remove the item from spread then how i check.
here i write the code for check override item in spread
var myDoc = app.activeDocument;
var myspread = myDoc.spreads;
for (a=0; a<myspread.length; a++)
var pageitem = myspread[a].pageItems
for (b=0; b<pageitem.length; b++)
if (pageitem[b].overridden == true)
alert ("Override Page Item")
Please suggest me
1 person found this helpful
That's a real pain.
You'll have to create an array of all master page items and then loop
through all local page items removing the overriddenMasterPageItems
from the first array as you go. If your resulting array is greater
than 0, something was deleted...
Sorry, but I can't think of a better way off-hand.
I'll try this.