Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Word Count (CS4)

Guest
Sep 30, 2010 Sep 30, 2010

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

31.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 30, 2010 Sep 30, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 30, 2010 Sep 30, 2010

The document is a "flat sheet", two pages. No headers, no footers, just text boxes.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 30, 2010 Sep 30, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 30, 2010 Sep 30, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2010 Sep 30, 2010

A very simple script will do it...

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

Harbs

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 05, 2010 Nov 05, 2010

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 23, 2012 Apr 23, 2012

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 15, 2014 Jul 15, 2014
LATEST

That there still is no built-in word count in CS6 is difficult to believe - it's the most basic functionality. Retrieving total WC for a book or a document should be no more than a click away. Just bizarre.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines