2 people found this helpful
Place your cursor in your story, and choose Window > Info to open the Info panel.
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.
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)
display dialog "The active document has " & (count of s) & " stories, with a total of " & t & " words"
Jongware also wrote a script to do this, but works for indb files too. This was featured from the indesignsecrets.com forum:
1 person found this helpful
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).
Thanks for the tip.
Guys (I'm one by the way) ALWAYS have a tendency to over complicate things.
Thanks! very useful!
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.
Search for the first character in a word:
Replace found character with itself:
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.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.
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!