Here is a macro that lets you create simple text expansion macros. Simply fill in the text of the action with lines like:
where trigger is the Typed String trigger you want and text is the text you want to expand to.
Then select all the actions and click the Try button at the bottom to run them once and it will create a macro for each expansion. There is no trigger on the macro since its not going to be a macro you want to run except occasionally.
Note that to create a new expansion, just duplicate an existing expansion macro and adjust the name, trigger and text.
Note, this macro does not XML encode the trigger or the text, so if the trigger or text may contain any characters that need XML encoding, then you need to either XML encode them when you enter them, or use the Filter action to XML encode them.
While Keyboard Maestro does a good job handling text-expansion macros, it does not provide as sophisticated a UI as TextExpander.
If you’re managing that many expansions I recommend you stick with TextExpander. I use Typinator myself and have 48,330 text-expansions and counting.
On the other hand you may find that Keyboard Maestro is more than adequate for your text-expansion needs.
Search the forum for “TextExpander”, and you’ll get 30+ hits. Amongst them are methods for extracting expansions from it. There is also some discussion covering when KM is a good replacement for a dedicated text-expansion utility.
Create some text-expansions in Keyboard Maestro and test them. Play with the differences between KM and TextExpander and then decide for yourself whether you still want to consolidate.
I have been testing this today. I really like KM’s text expanding ability. I think it will be a great replacement. Now with TextExpander going to a subscription service, KM is even a better match. I did not realize KM did text replacement like this. For me, this is great.
If I still get a for pay text expansion to supplement KM, I’ll look at aText. It’s only $5! But, why buy something else when I already have software that will do it. I have been using KM solely as a hot-key scripting engine. Now, There is more ways to use it. I really need to sit down and study this software better!
I can highly recommend you Typinator. I’m using it for years and always found it to be superior to Textexpander (better features and search, faster). More pricey than aText, but if they are clever they’ll offer an discount now for TE switchers…
It’s from the same company that makes the very nice PopChar (and KeyCue).
I just moved all of my script based TextExpander items to KM. Works much faster and more reliably when the system is running full force (I do a lot of video editing). Now, to get my bad spelling helpers.
I’ve looked at Typinator, but I think KM fills the place okay. The UI is good enough for me!
I was a big TextExpander user before I found KM. I now use both a lot.
But with TE moving to an expensive ($48/yr) subscription model, I won't be upgrading TE.
So, having used both TE and KM, IMO KM can be a great text expansion provider for many, many users. Of course, KM is much, much more than just a text expander tool!
But if you are more of a power user (like Chis, Tom, and myself (and others here), then you will probably find an app dedicated to text expansion useful.
Since both Chris and Tom think so highly of Typinator, I just took a look at it. With the 30% discount code of KC8L (expires Apr 8) that Peter provided earlier for KeyCue, I'm plan to buy the package deal, and save 33%
One feature of TextExpander I saw mentioned is the ability to automatically capitalize the first letter of an expansion, if it occurs at the start of a sentence (but not capitalize if it occurs elsewhere). Is that possible with Keyboard Maestro?
Not really, no. You can configure your Typed String trigger to “case affects actions” in which case the Insert Text action will honour the case of the typed string (Lower case, Upper first or Upper all).
So for example, if you had a trigger of “hello” and an insertion of “hi there”, then it would map: