15 Replies Latest reply on Dec 15, 2010 3:27 AM by Marcos Suárez

    Count words in NOTES...

    Marcos Suárez Level 1

      With this script count the words, but I need to include the words of the notes ...

       

       

      myDoc = app.activeDocument
      T = 0
      for ( var j = 0; myDoc.stories.length > j; j++)
      {
      T = myDoc.stories[j].words.length + T
      }
      alert("You have " + T + " words in this document" )

       

       

      THANKS...