Mailsmith
Other Programs
Scripts
Mailsmith.scpt
Archive to sub-mailbox
Check Spelling
Find reply
Change font size
Submit Script to JEM
Fix common spelling errors
Setting SMTP server
URL from Safari
Address from AB
linkMunge
Export to Address Book
Saving attachments
Digest Script
File with same
POP window position
Position of new windows
iCal and Mailsmith
Edit From Line
Modified Thread Script
Reply to Selection
Temporary Text Window
Compact gain
Tracking backups
Edit subject
Googler
Auto-rewrap
MMA
SMTP server
Open, fetch, and close
URL Manager
BrainForest
Thread by Author
Thread by subject
Export Email
Get Selection
Read Addresses
Export Email
Organize Email
Account setup
Mailsmith 2 BBEdit
BBEdit 2 Mailsmith
Search II
Check One
Delete Enclosure
Open, fetch, close
Set Answered
Set Redirected
Empty Trash
List found
Print Several
Del. old. msg.
Delete Enclosures
Accounts
Address Book
Editing
Filters
General
Import/Export
Links
Mailboxes
Memory
Scripting
Speed
send/receive
Tips/Tricks


Fixing common spelling mistakes before spellcheck

Author Christian Smith
Last modified 2003-03-14
What is this?

I make it a policy to run a spell check before I send a message and I've noticed that I have a specific problem typing the word "change" correctly. I usually type it as "chnage". The spell checker catches this but I get tired of having to fix it. So, I wrote a little script which uses a replace all to pre-fix this and attached it as a menu script to Check Spelling…

Save this as "Text•Check Spelling…" in the "Menu Scripts" folder and you're all set. Customize it with your own replace commands to fix those nagging problems you run into.


on menuselect()
   tell application "Mailsmith 1.5"
      set so to {search mode:grep, starting at top:true, match words:true}
      replace "(c|C)hnage" using "\\1hange" searching in text 1 of message window 1 options so
   end tell
   return false
end menuselect