I am sorry for sending this to the list. It was meant to be a private reply to Rod.
Rick From: framers-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Rick Quatro Sent: Thursday, February 02, 2012 8:25 AM To: 'Rod Fee'; framers@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. ..
_______________________________________________ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.