I have a book consisting of a list of documents with one main frame. I would love to know how many books my book contains. I do know FrameMaker 12 has in File -> Tools -> Document Report a facility to count the number of words in that document. My book has 50 documents and it's tedious to do this by hand.
Is there a script out there that would do that? Baring that, any starting script that I could actually take and use? I already know how to iterate on each document in a book, what I would need to know is the function I could call to count the number of words in that document and I think I could do the rest.
You might think that if the book was rendered to PDF, that you could then use Acrobat to count words. Somewhat astonishingly, it appears to lack the feature, the the Adobe forums are full of tips on how to copy all the text out of a PDF back into a WP/DTP app that can (assuming the PDF security allows it), or on how to use a script with Acrobat Std/Pro.