I am sorry for sending this to the list. It was meant to be a private reply to Rod.
Rick From: [email protected] [mailto:framers-bounces at lists.frameusers.com] On Behalf Of Rick Quatro Sent: Thursday, February 02, 2012 8:25 AM To: 'Rod Fee'; framers at lists.frameusers.com Subject: RE: Wordcount at Book level rather than FIle level Hi Rod, Do you have any ideas how you would want to implement this in your book? For example, would you want a FrameMaker variable that would contain the current word count? This may be the best way to go because it would give you the flexibility to use the word count anywhere you need it. I could write an ExtendScript script that would do essentially do work like this: 1) You would run a command called "Update Word Count". You could run it on the active book or active document. If you ran it on a book, it would count all of the words in the book; if you ran it on a document, it would count all the words in the current document. 2) The script would use a regular expression to count all of the words in the document. The count would put into a "WordCount" variable in the each of the book's components. Of course, you wouldn't have to use the variable in all (or any) of the components; you would only insert the "WordCount" variable where you need it. .. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.frameusers.com/pipermail/framers/attachments/20120202/746ddaf0/attachment.html>
