Word wordcounts
Word wordcounts
- Subject: Word wordcounts
- From: Imap McGrant <email@hidden>
- Date: Fri, 25 Mar 2005 10:48:05 -0600
tell application "Microsoft Word" to count of characters of active
document
and
tell application "Microsoft Word" to count of words of active document
give widely differing results than the Tools > Word Count... function
in the GUI (off by about 50% in the second case for the document I have
open right now). Unfortunately my clients will be expecting the count
from the GUI for the most part, and it would look funny to say the
least to bill them 50% more than the number they can easily see for
themselves. Does anyone know how to get the statistics reported in the
GUI wordcount function in AppleScript? (Not just to display it, which I
suppose I could do via GUI scripting, but to assign the data to
variables in the script.)
Thanks in advance,
Michael
--
<http://globalocal.blogspot.com/>
In the midst of the word he was trying to say,
In the midst of his laughter and glee,
He had softly and suddenly vanished away---
For the Snark *was* a Boojum, you see.
- Lewis Carroll
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden