but Spell Catcher (developer is at is hands down the best tool for this job (and many others). I was a TypeIt4Me user for many years, and I am a LaunchBar enthusiast now. There's an even better solution, I think. You have to get used to adding a slight (about 3 keystroke, in my case) pause for it to expand an abbrev, or it eats the keystrokes typed then. I once sent mail to my friend "Jan" addressed to "January" :-). The only drawbacks are that you have to be careful that you don't define an abbrev that's also something you might want to type, because you might miss it. The first saves me a keystroke for the second "l", a shift for the "I" and a pinky move for the dreaded "'". You can save a lot of time on contractions, too, if you define the right abbrevs: I have "il", "dont", and "theyre" defined to "I'll", "don't", and "they're", respectively. The more you have, the faster you can type. I have just under 500 abbrevs-anything I type repeatedly. It's also handy for common typos, like "adn" which I have set to autocorrect to "and". For example, typing "although" instead of "altho" would be a major pain. You very quickly become dependent on the abbrevs. T4M fills the gap (mostly), especially since version 2 came out, which lets you turn it off in some apps (like terminal). I rely heavily on abbreviations in emacs, and the lack of a similar feature systemwide was a serious bummer. TypeIt4Me (lets you define short abbreviationsįor things you type all the time. Note: 'Enable access for assistive devices' needs to be turned on in the Universal Access System Preferences panel in order for this to work. Here's my Address entry script: - Tom Robinsonproperty GlossaryEntry : "Tom Robinson" & return & ¬ "xx Garfield Street" & return & ¬ "Brooklyn" & return & ¬ "Wellington" & return & ¬ "Aotearoa New Zealand" & returnKeyIt(GlossaryEntry)on KeyIt(WhatToKey) tell application "System Events" set CharBuffer to "" repeat with i from 1 to number of characters in WhatToKey set ThisCharacter to character i of WhatToKey if ThisCharacter is "'" then keystroke CharBuffer set CharBuffer to "" keystroke "}" using option down else if ThisCharacter is "—" then keystroke CharBuffer set CharBuffer to "" keystroke "_" using option down else if ThisCharacter is "…" then keystroke CharBuffer set CharBuffer to "" keystroke " " using option down else if ThisCharacter is "–" then keystroke CharBuffer set CharBuffer to "" keystroke "-" using option down else set CharBuffer to CharBuffer & ThisCharacter end if end repeat if CharBuffer > "" then keystroke CharBuffer end tellend KeyItSpecial characters like ellipses and em-dashes were causing problems for keystroke, that's why they're special-cased above. To insert into an e-mail, just position the cursor at the appropriate point in the body of the message, and run the script from Mail's scripts menu. In my ~/Library -> Scripts -> Mail Scripts folder, I've created a Glossary folder, and in there, I have a number of these scripts (identical except for the GlossaryEntry property). You may find it useful too, or as the basis for a fully-fledged script. I've written a 'quick & dirty' AppleScript to do this for me. I have a number of pre-defined text strings I like to insert into e-mail messages-address, bank account, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |