Hey lightspeed: Is this anything you can use>>
http://imgur.com/a/ib9bmbest wishes
cyberjedi 1337
Ps: im not telling,,,,,lol
Oh ok: This is the way to go for Hal. run it a few times and ull get the feel for whats up here.
Why have Hal process the bad spelling when it can get done pre processed and correct, Saves Hal from doing it. Aint this what Hal is all about , working with other progi's. U dont have to copy, it will do that automatically. just play with it and let me know whats up
You have to manually click off the Radio Button for Grammer,theres NO switch that i can code, im aware of. Just do it 1 time, thats all, srry
Rem Type=Plugin
Rem Name=Spell Checker
Rem Author=cyberjedi
Rem Host=Assistant
'This sub sets up the plug-in's option panel in Hal's options dialog
Sub OptionsPanel()
lblPlugin(0).Caption = "Just killin it"
lblPlugin(0).Move 120, 120, 3300, 1200
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub
Rem PLUGIN: PRE-PROCESS
Dim Word, Doc, Misspelled, Spelledrite
Const SpellingAndGrammar = 828 '<<<<<<WTF is this,,lol English Version...i get that a lot
Const dontsavechanges = 0
Misspelled = InputString
Set Word = CreateObject("Word.Application") '<<<<< This is the meat of the code, Calls for word.doc to load out in the back ground. Invisible
Set Doc = Word.Documents.Add
Word.Selection.Text = Misspelled ' <<<<<<This is where Spellcheck seizes control and ull see Hal Freeze
Word.Dialogs(SpellingAndGrammar).Show '<<<<<This is where get you spell check window from.
If Len(Word.Selection.Text) <> 1 Then
Spelledrite = Word.Selection.Text
Else
Spelledrite = Misspelled
End If
Doc.Close dontsavechanges '<<<This is where the Document closes out without saving
Word.Quit
InputString = Spelledrite '<<<<<<Hal is released with the correct spelling inputted