Jump to content

Recommended Posts

  • Moderators
Posted (edited)

As I was trying to make a spell check function for the Word Automation Library, I ended up making this instead. :whistle:

Posted Image

Requirements:

AutoIt Beta

Word.au3

Updated 3/18/2008

CustomSpellChecker.au3Previous versions had 370+ downloads

To 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=1034

Enjoy,

Bob

Edited by big_daddy
Posted

big_daddy,

I like it. :whistle: 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

Posted (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" :whistle:

Edited by rbhkamal

"When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix

  • Moderators
Posted

@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!

Posted

@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. :whistle:

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

Posted

Sounds, looks and works good!

i542

Big Daddy !

It works for me !

The GUI you displayed at the begining dont diplay as shown on my computer ?

  • Moderators
Posted

@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.

Posted

@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

  • 2 months later...
Posted

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

  • 1 month later...
  • Moderators
Posted

@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

  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...