TextExpander AppleScript for Expanding Snippets
Not sure how useful this’ll be in the grand scheme of things, but the latest update to TextExpander added a new command in its AppleScript dictionary. You can now use
expand snippet or
expand abbreviation to well…expand things. If you have a huge library of snippets—as I do—you may find this useful. Unfortunately, anything you use this for will not be portable, but for personal-use scripts, it could be helpful.
Here’s an example in full:
I have a TextExpander snippet for
;tom that is defined as such:
tell application "TextExpander" to expand string ";tom" then returns