1 Reply Latest reply on Jul 29, 2012 3:49 AM by Marcos Suárez

    Count words, but not in master pages...

    Marcos Suárez Level 1

      With this:

      var docWordCount = app.documents.everyItem().stories.everyItem().words.length; // words
      

       

      ... I count the words of all open documents.

      But how I can exclude the master pages?

       

      Thanks in advance ...!