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

InDesign CS5 Word Count

Engaged ,
Oct 09, 2012 Oct 09, 2012

Copy link to clipboard

Copied

Does InDesign CS5 have a built in word counter and if so how do I access it?

Views

98.2K

Translate

Translate

Report

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 ,
Oct 09, 2012 Oct 09, 2012

Copy link to clipboard

Copied

Place your cursor in your story, and choose Window > Info to open the Info panel.

Votes

Translate

Translate

Report

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 ,
Oct 10, 2012 Oct 10, 2012

Copy link to clipboard

Copied

That will give you the story word count. If you have a lot of stories you can use Sandee Cohen's old trick of doing a find change for a space. Find the space and replace with one. InDesign will tell you how many changes it made.

Bob

Votes

Translate

Translate

Report

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 ,
Oct 10, 2012 Oct 10, 2012

Copy link to clipboard

Copied

If you are using OSX this AppleScript will get the document count:

tell application "Adobe InDesign CS6"

    tell active document

        set s to every story

        set t to 0

        repeat with i from 1 to count of s

            set t to t + (count every word of item i of s)

        end repeat

        display dialog "The active document has " & (count of s) & " stories, with a total of " & t & " words"

    end tell

end tell

Votes

Translate

Translate

Report

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 ,
Oct 10, 2012 Oct 10, 2012

Copy link to clipboard

Copied

Jongware also wrote a script to do this, but works for indb files too. This was featured from the indesignsecrets.com forum:

http://indesignsecrets.com/forum/indesign-add-ons-scripts-scripting-and-plug-ins/word-count-a-book

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!

Votes

Translate

Translate

Report

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 ,
Jul 15, 2014 Jul 15, 2014

Copy link to clipboard

Copied

You guys above are over thinking this haha.   If you don't want to count the words for the entire document just highlight the text you'd like to count then Window > Info (f8).

Votes

Translate

Translate

Report

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
Engaged ,
Jul 15, 2014 Jul 15, 2014

Copy link to clipboard

Copied

Thanks for the tip.

Guys (I'm one by the way) ALWAYS have a tendency to over complicate things.

Votes

Translate

Translate

Report

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 ,
Jun 03, 2016 Jun 03, 2016

Copy link to clipboard

Copied

Thanks! very useful!

Votes

Translate

Translate

Report

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 ,
Jun 05, 2016 Jun 05, 2016

Copy link to clipboard

Copied

Hello Ernesto,

and in case you want to exclude all text on your pasteboard, you could simply use an ExtendScript.

Save your document.

1. Lock all page items in the document by the script below

2. Unlock all page items on all the pages of the document (that would exclude all items on the pasteboard) by the script below.

Then do your GREP search in the UI.

Example GREP:

Search for the first character in a word:

\<.

Replace found character with itself:

$0

Write down the results.

Revert to last saved state of the document.

Script snippet to lock all page items in the document and to unlock the page items on "normal" pages, only:

app.documents[0].pageItems.everyItem().locked = true;

app.pages.everyItem().pageItems.everyItem().locked = false;

Note: master page items will not be unlocked with this method so they would not count when doing a GREP search/replace action even if you allow a search on master spreads. The script could be expanded to these items as well. And if you search around in the InDesign Scripting forum you may find the appropriate code over there.

Regards,

Uwe

Votes

Translate

Translate

Report

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 ,
Jun 10, 2016 Jun 10, 2016

Copy link to clipboard

Copied

LATEST

Many thanks! I will have to take a time to do that because I have never used an script, and have no idea about them

I apreciate you comment!

Thanks Laubender!

Votes

Translate

Translate

Report

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