Re: Spell checking in Applescript
Re: Spell checking in Applescript
- Subject: Re: Spell checking in Applescript
- From: Jean-Baptiste LE STANG <email@hidden>
- Date: Wed, 5 Dec 2007 23:36:04 +0100
XSpell is a scripting addition for Mac OS X (Tiger, PPC & Intel)
allowing you to use the built-in spell checking system that comes
with OS X. XSpell is free, open source and if you find it useful then
you can even reward the developer (that would be me :D ) by buying a
licence.
URL : <http://lestang.org/article51.html>
Happy spell checking & scripting
--
Jean-Baptiste LE STANG
On Dec 5, 2007, at 9:27 PM, Paul Berkowitz wrote:
I am not aware of any application that manages to make the Mac OS's
own
spellchecker scriptable, but it's possible that there may be some.
If so,
you could transfer the words to that app and do it there.
But spellchecking *is* scriptable in Word. See the 'check spelling'
command
in both the Microsoft Word Suite and the Text Suite. The Text Suite
version
might be what you want if all you wanted was to check some text and
find out
if it's OK or not, since you don't even have to insert the text
anywhere.
But if you want to correct incorrect spelling, you'd insert the
text in a
Word document and use the Microsoft Word Suite version with
Autocorrect
options set to correct the spelling or present you with
suggestions. In
Word, all of this, including even the Autocorrect options, are
scriptable,
but complicated. If you trust automatic spelling corrections, you
could even
script getting the text of the corrected range (text) and inserting
it back
in Entourage. This could be quite an interesting exercise but, as I
say,
quite complex. It might take you a bit of time to experiment with
it and
find some workable solutions. But they are there. In addition to
the Word
AppleScript Dictionary, make sure you get the Word AppleScript
Reference
Guide at the MacTopia website (http://www.microsoft.com/mac/)
/Resources/Developer/AppleScript .
--
Paul Berkowitz
From: Stephen Lanza <email@hidden>
Date: Wed, 05 Dec 2007 14:43:52 -0500
To: <email@hidden>
Subject: Spell checking in Applescript
I am trying to write an applescript for Entourage that checks the
spelling
of words in the subject line of an email. A lot of spam has one or
more
words that are not legitimate words and I want to use a spell
check to
determine how many 'words' are not really words.
I checked the dictionary in Entourage for a command to invoke the
spell
checker but couldn't find one.
Is there a stand-alone extension to applescript that would spell
check some
text passed to it or is there some other way to spell check a text
string?
Thanks for any help.
Stephen Lanza
Software Complement
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40silcom.com
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40lestang.org
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden