Copy link to clipboard
Copied
Hi,
Can any one give me an idea how to find the untagged text frame in InDesign CS5.
Thanks,
gopal
Copy link to clipboard
Copied
#target Indesign
var allPageItems = app.activeDocument.allPageItems
checkXMLTag(allPageItems)
function checkXMLTag(aArrayOfItems) {
for (var i=0; i<aArrayOfItems.length; i++) {
var pageItem = aArrayOfItems;
if(!pageItem.associatedXMLElement)
{
pageItem.select();
alert('Selection hasn\'t got a markUpTag');
exit();
};
}
}