Skip navigation
Currently Being Moderated

Word Count (CS4)

Sep 30, 2010 2:33 PM

Is there a "Word Count" feature for InDesign CS4 that will work for an entire document?

 
Replies
  • Currently Being Moderated
    Sep 30, 2010 3:01 PM   in reply to louise415

    Be careful what you ask for. Do you want to include running headers and footers? Page numbers?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 30, 2010 3:16 PM   in reply to louise415

    If you have just one Story then you can select all text and look at Info palete. Or, maybe it can be done through some short and simple script.

     

    --

    tomaxxi

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 30, 2010 3:17 PM   in reply to louise415

    OK, that's a simple document, but a "feature" must work not only for single pages, but for 1000 page books, too.

     

    A total word count might indeed be a useful thing, and it might even be scriptable if you can figure out a way to decide which stories to include or exclude (Hint: Including all storores is probably pretty easy, but will also pick up headers and footers and such, though you might be able to exclude stuff from master pages).

     

    For a two-page doc you can put the cursor in each story and read the word count in the Info panel. Write them down and add them up.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 30, 2010 3:29 PM   in reply to louise415

    A very simple script will do it...

     

    alert("There are "+ app.documents[0].stories.everyItem().words.length +" words in the active document.")

     

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2010 2:01 PM   in reply to Harbs.

    This one works, if you don't have any words in tables.

     

    I tested this by deleting words in a table. I got the same count before and after deleting.

     

    Is there any way to force it to include table text?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 23, 2012 3:39 AM   in reply to Harbs.

    Never used a script before in Indesign, but this worked beautifully - thanks!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points