01-08-2009, 10:08 PM
Well...I think I have it figured out!
Spell Check with google "Did you mean:"
Spell Check with google "Did you mean:"
out
str SearchWord="Joey Figjiani"
str GoogleWord=SearchWord
GoogleWord.findreplace(" " "+")
str url.format("http://www.google.com/search?hl=en&q=%s" SearchWord)
HtmlDoc d.InitFromWeb(url)
str s2=d.GetText("LI")
if _s.get(s2 0 14)="Did you mean: "
,s2.findreplace("Did you mean: " "")
,strrev s2
,s2.findreplace("nwohs stluser 2 poT " "")
,strrev s2
,SearchWord=s2
else
,out "Word had no suggestions:"
out SearchWord