header

About RDS

Books and Papers

IT Conversations

Weblogs

Newsletter

Clients

Contact

 
 

Would you like to receive a weekly digest of this weblog via email? Sign up to receive my free IT Strategy Letter.

 


Noise

Occasional and random personal reflections by Doug Kaye.

Spell Check for Web Forms. I got this from the 9/3/02 issue of PC Magazine. (Can't find it on line.) Here's some JavaScript that works with IE:

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 the above into a file such as spellcheck.js. Drag the icon for this file to IE's "Links" toolbar and rename the link. Select text in any browser text box and click on the button. It launches Word, runs the spell checker, and replaces the text. Not ideal, but better than nothing.
Posted Monday, August 12, 2002 1:00:23 PM   


 

 

Current Weblogs

Web Hosting Strategies
Web Services Strategies
Noise (personal)
Blogarithms (all)
(more info)

   

Archives

 

Click below for single-day archives of Noise weblogs.

August 2002
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jul   Sep

Click to see the XML version of this web page.

 

All content on this web site is governed by a Creative Commons License.
©2001-2003 Doug Kaye and RDS Strategies LLC (