Neat Trick In Current Issue Of PCMag If You Have MS Word

Azoth

Senior member
Jun 7, 2001
226
0
0
<SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hiya Folks...

I was reading the latest issue of PC Magazine and in their "Internet Professional Section" they have a decent script that allows forum postings to be spell checked right from your browser if you have MS Word... Remember, you have to have Microsoft Word for this to work...

Start Notepad, or your favorite text editor and paste the following in...</SPAN>

<P class=MsoNormal style="MARGIN: 0in 0in 0pt">
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
}


Save the file as spellcheck.js
Drag the file from Windows Explorer to the links bar in Internet Explorer to create a shortcut to the file. Right click on it to rename it and/or change the icon...

Hope this may help some...

:)</SPAN>

Edit:
:confused: Okay, can someone explian the SPAN information and other MS Information showing up.... mayhaps this script is not as cool as I thought :eek:
 

Azraele

Elite Member
Nov 5, 2000
16,524
29
91
Spell checked...I could certainly use that, most of my edits are from typos. :D
 

Azoth

Senior member
Jun 7, 2001
226
0
0
:eek:

It worked for me... Maybe I pasted it wrong... Try getting it from here

The one at the above link has been tested and working on an XP system running Word 2k
 

aphex

Moderator<br>All Things Apple
Moderator
Jul 19, 2001
38,572
2
91
Damnit, mine just loads dreamweaver... 1 sec :D
 

aphex

Moderator<br>All Things Apple
Moderator
Jul 19, 2001
38,572
2
91
Well now i have it set to IE, and a window pops up really fast but i cant see what it says its gone so fast.
 

kami

Lifer
Oct 9, 1999
17,627
5
81
Mine opens in dreamweaver too...what the heck? Guess it's typos for me!
tried opening with IE too...no worky

LYNCH EM!
 

aphex

Moderator<br>All Things Apple
Moderator
Jul 19, 2001
38,572
2
91
Originally posted by: kami
Mine opens in dreamweaver too...what the heck? Guess it's typos for me!

You have to change the file association to IE, i think.
 

aphex

Moderator<br>All Things Apple
Moderator
Jul 19, 2001
38,572
2
91
Originally posted by: Azoth
:(

But.. but but.. PC Mag says it works on any system with Word... it works for me :confused:

<a class=ftalternatingbarlinklarge href="http://www.pcmag.com/article2/0,4149,437528,00.asp" target=blank>They even have an article for it</A>

**hides from the posse` out to lynch him**

** flings a wad of poo at azoth.
 

SSP

Lifer
Oct 11, 1999
17,727
0
0
OMG!!! It works! COOL!!! :D


Guys, just download the file he linked, put it in desktop or where ever, drag tot he "Links" in IE. (as he posted above)

Then all you have to do is highlight text anywhere in the browser you wasn?t to spell-check, and click the shortcut that was created on "links".

Azoth, thanks for this cool trick. :)

EDIT - Hahaha... guess I should have ran the spell-check before I pressed reply.
 

aphex

Moderator<br>All Things Apple
Moderator
Jul 19, 2001
38,572
2
91
Why the hell wont it work for me?
 

aphex

Moderator<br>All Things Apple
Moderator
Jul 19, 2001
38,572
2
91
Originally posted by: Azraele
Originally posted by: aphexII
Why the hell wont it work for me?
It doesn't work for people who fling poo at other people. :p:Q

IE dosent know i flung poo.
 

Luden

Platinum Member
Jul 15, 2001
2,269
0
0
ohh... thats was my problem. you must highlight what you want changed. thanks for tip, maybe people will think i can spell again.
 

SSP

Lifer
Oct 11, 1999
17,727
0
0
Originally posted by: Luden
ohh... thats was my problem. you must highlight what you want changed. thanks for tip, maybe people will think i can spell again.

Haha... looking at your reply... you really need it. ;):p
 

Azoth

Senior member
Jun 7, 2001
226
0
0
Oh yeah.. heh. Did I umm forget to mention that the text had to be highlighted? :eek:

I could have sworn I mentioned it, perhaps the poo covered it up.
 

LordMaul

Lifer
Nov 16, 2000
15,168
1
0
Aphex: Download file. Drag to "links" button next to "go" button. Right click shortcut, go to "Open With", then "Choose Program". Select "Microsoft (r) Windows Based Script Host" and check the "Always use this selected program..." box. Now go to the reply page(or whatever) here, type some words out, select a misspelled one, then go to links>shortcut to spellcheck.js.
 

Azoth

Senior member
Jun 7, 2001
226
0
0
Originally posted by: LordMaul
Aphex: Download file. Drag to "links" button next to "go" button. Right click shortcut, go to "Open With", then "Choose Program". Select "Microsoft (r) Windows Based Script Host" and check the "Always use this selected program..." box. Now go to the reply page(or whatever) here, type some words out, select a misspelled one, then go to links>shortcut to spellcheck.js.

Yeah, what LordMaul said... :)
... Took the words right out of my mouth ;)
 

kami

Lifer
Oct 9, 1999
17,627
5
81
where is this windows scripting host EXE file? i don't have it listed in the programs i have to choose from, so I'll have to do it manually.