Re: Spellcheck a list
Re: Spellcheck a list
- Subject: Re: Spellcheck a list
- From: Emmanuel <email@hidden>
- Date: Mon, 4 Oct 2004 19:48:43 +0200
At 12:35 AM -0400 04/10/04, Graff wrote:
----
on CheckWord(theWord)
set quotedWord to quoted form of ("^" & theWord & "$")
try
do shell script "grep " & quotedWord & "
/usr/share/dict/words"
display dialog theWord & " is correct"
on error
display dialog theWord & " is not correct"
end try
end CheckWord
CheckWord("youth")
CheckWord("yoot")
----
CheckWord("software")
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden