Moderators big_daddy Posted August 9, 2006 Moderators Share Posted August 9, 2006 (edited) As I was trying to make a spell check function for the Word Automation Library, I ended up making this instead. Requirements:AutoIt BetaWord.au3Updated 3/18/2008CustomSpellChecker.au3Previous versions had 370+ downloadsTo spell check in specific languages you will need to include a "LangID.ini" file in the script directory. Below is an example of that file with a few language constants. The full list of constants can be found here under WdLanguageID. Note: you must have the language already installed on your pc to be able to spell check with it. [WdLanguageID] English=1033 French=1036 German=1031 Italian=1040 Spanish=1034Enjoy,Bob Edited March 18, 2008 by big_daddy Link to comment Share on other sites More sharing options...
WTS Posted August 9, 2006 Share Posted August 9, 2006 looks real nice.. too bad i dont have word Link to comment Share on other sites More sharing options...
ptrex Posted August 9, 2006 Share Posted August 9, 2006 Very nice works just fine. But there is an error showing.--> Word.au3 Error from function _WordAttach (The file specified does not exist.)SUGGESTION Add the function to change Language to check in. Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
taurus905 Posted August 9, 2006 Share Posted August 9, 2006 big_daddy, I like it. Thanks for sharing. Do you plan on making any improvements? I think it would be cool when you click on a misspelled word to then have it highlighted in the sentence where it occurs. taurus905 "Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs Link to comment Share on other sites More sharing options...
randallc Posted August 9, 2006 Share Posted August 9, 2006 too bad i dont have word Why not.. The beta Office 2007 is free till February; slack, i'd say, no wimping!randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
rbhkamal Posted August 9, 2006 Share Posted August 9, 2006 (edited) It replaces all the misspelled words. If you have " mispelled bla bla bla mispelled" and you replace the word 'mispelled', it will replace any "mispelled" to "misspelled" Edited August 9, 2006 by rbhkamal "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted August 9, 2006 Author Moderators Share Posted August 9, 2006 @ptrex - Fixed! I also add the feature to spell check in a specific language. That turned out to be a beast! @taurus905 - I wasn't planning on making updates, but sense you asked I added the highlighting. @rbhkamal - Fixed! Link to comment Share on other sites More sharing options...
taurus905 Posted August 10, 2006 Share Posted August 10, 2006 @taurus905 - I wasn't planning on making updates, but sense you asked I added the highlighting.big_daddy,Thanks for the update with the highlighting feature. It looks great. taurus905 "Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs Link to comment Share on other sites More sharing options...
ptrex Posted August 10, 2006 Share Posted August 10, 2006 @big_daddy Tested the language settings and works perfect !! Thanks a lot. Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
i542 Posted August 10, 2006 Share Posted August 10, 2006 Sounds, looks and works good! i542 I can do signature me. Link to comment Share on other sites More sharing options...
lukeneo Posted August 10, 2006 Share Posted August 10, 2006 Sounds, looks and works good!i542Big Daddy !It works for me !The GUI you displayed at the begining dont diplay as shown on my computer ? Link to comment Share on other sites More sharing options...
rbhkamal Posted August 10, 2006 Share Posted August 10, 2006 There is a problem when spell cheking multiple lines. It looks like you should use this: GUICtrlSetData($Edit, StringReplace( $oRange.Text , @CR , @CRLF)) "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted August 10, 2006 Author Moderators Share Posted August 10, 2006 @lukeneo - Does it look close? If so then it is probably just a difference in our windows theme. @rbhkamal - This is by design. I was forced to do this because of the way MS Word counts characters. It counts a @CR as a character whereas the edit control does not, because of this the highlighting was getting thrown off. Even though it looks funny in the edit control it will copy and paste fine in most apps. Link to comment Share on other sites More sharing options...
rbhkamal Posted August 11, 2006 Share Posted August 11, 2006 @rbhkamal - This is by design. I was forced to do this because of the way MS Word counts characters. It counts a @CR as a character whereas the edit control does not, because of this the highlighting was getting thrown off. Even though it looks funny in the edit control it will copy and paste fine in most apps.i c..Nice job RK "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
rbhkamal Posted November 7, 2006 Share Posted November 7, 2006 Dude!! Your script doesn't work anymore?? It's broken in every possible way!! Note: Someone sent me an Email thinking I wrote this script. Regards, RK "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted November 10, 2006 Author Moderators Share Posted November 10, 2006 ***FIXED***Thanks for letting me know!!!Line 9 needed to be changed to this...Global $oWordApp = _WordCreate ("", 0, 0, 0) Link to comment Share on other sites More sharing options...
tiaetsch Posted November 14, 2006 Share Posted November 14, 2006 Thank you, now it runs. Is it also somehow possible to access the thesaurus of word? Link to comment Share on other sites More sharing options...
magician13134 Posted December 16, 2006 Share Posted December 16, 2006 I'm trying to use this for text with HTML, how can I remove everything in "<>"s? Like turn: <b>Hey</b> into: hey Visit Magic Soft Inc. for some of my software Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted December 18, 2006 Author Moderators Share Posted December 18, 2006 @magician13134 - That isn't what this script is meant for. However you could retrieve the text using the .innerText Method for IE. If you have any additional questions on this please as them in the support forum. Thanks, Bob Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 12, 2007 Author Moderators Share Posted June 12, 2007 New version available! Fixes another small bug.Enjoy,Bob Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now