Page 1 of 1

Spellchecker

Posted: Thu Jul 28, 2005 6:31 pm
by BonzaiRob
I'm thinking of starting a script to check message spelling and replace mistakes like teh and btu and so on. I don't suppose anyone could help me with what I have to do to make this compatible with Adium? This means checking what's in the current message window and doing a find/replace action.

Posted: Thu Jul 28, 2005 6:39 pm
by twopeak
did you check the built-in spelling checker?
left-click (press ctrl) and click on a word. Choose spelling from the menu, and use "check spelling while tiping". You will get a red line under every wrongly spelled word.
In that menu you can also change the language.

If you intend to make a plugin, I can't help you.

Re: Spellchecker

Posted: Thu Jul 28, 2005 9:16 pm
by zaudragon
BonzaiRob wrote:I'm thinking of starting a script to check message spelling and replace mistakes like teh and btu and so on. I don't suppose anyone could help me with what I have to do to make this compatible with Adium? This means checking what's in the current message window and doing a find/replace action.
Well, try this:

Code: Select all

do shell script "echo " & variable & " | sed "s/findthis/replacewiththis/g""