TextExpander is a Mac utility for creating auto-expanding text shortcuts—“snippets”—that can save you time on things you repetitively type, such as email signatures, your telephone number or boilerplate responses to support emails. With version 6, Smile decided to move away from paid upgrades, to a subscription plan that would cost roughly $5 per month. The move was controversial, a situation which is well documented at Michael Tsai’s blog. I’ve been using TextExpander for 10 years, but decided against continuing with a subscription plan.
Another utility I’ve been using for 10 years is Keyboard Maestro, which as a general automation toolkit can do auto-expanding text shortcuts, and a whole lot more! Over the years, I’d often thought about the overlap between TextExpander and Keyboard Maestro, but had never taken the time to consolidate their use into one, until now. Last week, I finally migrated all snippets to Keyboard Maestro, and after 10 years with the product, removed TextExpander from my Mac.
Unfortunately, I wasn’t able find an automatic migration/import solution, but moving the snippets by hand turned out to take much less time than I anticipated. Here’s how I did it, and it involves creating a disabled snippets set in TextExpander called, “Migrated”:
Here’s the process I followed:
- I created the set “Migrated”, and disabled it, as shown above. (Actually, I created an additional one, “Not Migrated”.)
- In Keyboard Maestro, I created a “TextExpander” folder, to hold all the snippets I migrated.
- I created the first snippet in Keyboard Maestro, defining the action first (before the trigger) and using, “Insert Text by Pasting”. I’ve read that “Insert Text by Typing” is more compatible, but it’s slower and so I initially created all my snippets as “Insert Text by Pasting”, and I’ll change any that I later discover are used in environments where typing would work better.
- I typed the shortcut as a means of creating it rapidly it in Keyboard Maestro’s action field, since it was still active in TextExpander.
- I then switched into TextExpander and dragged the snippet to the “Migrated” folder, thereby disabling it.
- I then switched back into Keyboard Maestro, and specified the trigger. (Had I not moved the snippet in TextExpander to the disabled Migrated folder, then it would have auto-expanded into the trigger field in Keyboard Maestro!)
- To create the remaining snippets in Keyboard Maestro, I duplicated the first in Keyboard Maestro (so I wouldn’t have to manually specify the insert action or the trigger), and followed the above steps 4 through 6.
- I discovered that nearly half of the snippets I’ve created over the years are no longer used. Instead of migrating them, I just moved them to the disabled “Not Migrated” folder I created.
Here’s what a typical snippet looks like in Keyboard Maestro:
There were a couple of syntax differences to be aware of. Here’s how certain things work in Keyboard Maestro:
- My long-date timestamp:
- A Markdown link, which inserts the URL on the clipboard and then positions the cursor for typing:
I was also happy to find that the AppleScript used in the TextExpander factory snippet for shortening Bit.ly URLs worked without modification in Keyboard Maestro, as well as a perl script I use for creating 12 character random sequences.
All in all, the migration took about 45 minutes, and as a result I’m running one less app on my computer.