1 Reply Latest reply on Mar 8, 2013 4:15 AM by -hans-

    Find untagged text frame in indesign

    gopaljay78 Level 1

      Hi,

       

      Can any one give me an idea how to find the untagged text frame in InDesign CS5.

       

      Thanks,

      gopal

        • 1. Re: Find untagged text frame in indesign
          -hans- Level 4

          #target Indesign

           

          var allPageItems = app.activeDocument.allPageItems

           

          checkXMLTag(allPageItems)

          function checkXMLTag(aArrayOfItems) {

              for    (var i=0; i<aArrayOfItems.length; i++) {

          var pageItem    = aArrayOfItems[i];

          if(!pageItem.associatedXMLElement)

          {

              pageItem.select();

              alert('Selection hasn\'t got a markUpTag');

              exit();

              };

             

              }

          }