Help - Search - Members - Calendar
Full Version: Spellcheck
America's Debate > Archive > Everything Else Archive > [A] Casual Conversation
Google
Mike
This is a neat little script that allows you to run Microsoft Word's spellcheck from the forum or anywhere, really..

It adds a "spell check" button to the links section of Internet Explorer.

Requirements: Internet Explorer and Microsoft Word

If you need any help with this, send me a private message, and I'll be happy to come up with more detailed instructions.

1. Copy the following code into notepad:

QUOTE
oShell= new
ActiveXObject("WScript.Shell");
oShell.SendKeys( "^c" ); // copy
oWord= new ActiveXObject("Word.Application");
oWord.Visible= true;
oWord.Documents.Add();
oWord.Selection.Paste();
oWord.ActiveDocument.CheckSpelling();
oWord.Selection.WholeStory();
oWord.Selection.Copy();
oWord.ActiveDocument.Close(0);
oWord.Quit();
var nRet= oShell.Popup( "Apply changes?nClick OK to replace all selected text.", 0, "Spell Check Complete", 33 );
if (nRet ==1 ) {
oShell.SendKeys ( "^v" ); // paste
}


2. Save the file as "spellcheck.js".

3.Open Internet Explorer.

4. Drag "spellcheck.js" from Windows Explorer on to the "Links" section of the Internet Explorer toolbar.

5. Rename the new shortcut "Spell Check".

That's it.

Now, whenever you're posting at the forum, or writing web mail, you simply select the entire text of the email, and hit "Spell Check".

It very nicely opens up a Word Document, runs spell check, and asks you if you'd like to apply the changes. It's great!

Have fun!

Mike
Google
otseng
Cool.

I had to leave the extension .js in it after I renamed it, but otherwise it worked great.

Thanks for the tip.
Nettie
well, don't know what I did wrong,but it didn't work for me. I copied, saved, opened explorer,and dragged,but received an error message as follows
Windows Script Host
Script C:\Favorites\Links\Spellcheck.js
Line 4
Char 1
Error Automation Server can't crate object
Code: 800A01AD
Source: Microsoft J Script runtime error.

Any suggestions? If not I open word and type the message ..then copy and paste..it is cumbersome,but works.
Mike
Hey Nettie.

I'm actually experiencing the same problem on my system now.

Which Operating System are you running? If it's Windows XP, which flavor (home or pro)?

Mike
Nettie
Am I sorry that I didn't answer this. I guess I was too busy to get this far. Anyway, I am using windows 98. I've found it simple to open word and check it... cut, copy,paste if I feel the need. biggrin.gif biggrin.gif
Mike
You could also go to Spellcheck.net.
Google
This is a simplified version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.