It may be worth noting that in Word 2007, the word count is on the status line, so the read status line hot key will get it and the script may not be so necessary.
Dean -----Original Message----- From: J.J. Meddaugh [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 6:12 PM To: [email protected] Subject: Re: Microsoft Word Count 1.0 Darren, WHenever I start Word, I get that message. Even after I type words, I still get the message. If I then go into Script Manager and restart it, the hotkey works as expected. Hope this helps. J.J. www.BlindBargains.com Deals, news, and resources for the blind and visually impaired ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, July 09, 2008 9:05 PM Subject: Re: Microsoft Word Count 1.0 > Oh clang... > > I thought I'd ironed out all of that. Unfortunately it's been > extremely difficult to debug this script as I've had to override the > error handling routines to trap the possibility of there being no > document open when the key is pressed. Does manually stopping and > restarting the script from script manager solve the problem? > > I'll try out the GWToolkit error object instead and see how we get on. > > Thanks, > Darren > > On 10/07/2008, J.J. Meddaugh <[EMAIL PROTECTED]> wrote: >> Running Office 07, I get >> Variable is undefined >> no matter if I have 0 or 100 words in my document. >> >> J.J. >> >> www.BlindBargains.com >> Deals, news, and resources for the blind and visually impaired >> ----- Original Message ----- >> From: "Darren Paskell" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Wednesday, July 09, 2008 8:56 PM >> Subject: Microsoft Word Count 1.0 >> >> >>> Greetings, >>> >>> I just posted a script called "Microsoft Word Count". Press a key and >>> hear the number of words in the document you have open in Word. If you >>> have several, Window-Eyes will tell you the total for the document >>> you're currently working on. If there is not a document open when you >>> press the hotkey, Window-Eyes will fail gracefully. >>> >>> By default, the speak Word Count hotkey is Control-Windows-W. You can >>> configure this to your liking from the help and options button in >>> Script Manager. >>> >>> To read more and download this script, visit: >>> http://gwmicro.com/scripts/microsoft_word_count >>> >>> If you do download it, let me know how you get on. >>> >>> Enjoy! >>> >>> Darren >>
