How to Make a Calculator Snippet with Javascript in TextExpander

Maia Olson Blog, TextExpander, TextExpander Tips

Thanks to the magic of JavaScript snippets, you can make a snippet which acts as a calculator. TextExpander’s ability to execute JavaScript at the time of snippet expansion is one of the features which makes it so powerful. Here is how you can use some of that power in your own snippets. Create a new snippet from the button in …

Automate Expansion of Strings in TextExpander

Greg Scown Blog, TextExpander, TextExpander Tips

Photo by Philip Estrada on Unsplash   TextExpander for macOS 6.2.2 adds a new scripting command: “expand string” to allow automating the expansion of text strings. Here’s an example of how you might use it in AppleScript: tell application “TextExpander” to expand string “ddate :flag-us:” The result: “August 21, 2017 🇺🇸” Note: The example assumes you have the Emoji Cheat …

TextExpander Tip of the Week: Typos, AutoCorrections and Double Capitals

Maia Olson Blog, TextExpander, TextExpander Tips

In the course of typing, your fingers may fumble. Whether conscious or accidental, there are a variety of ways your fingers can and will jumble your words. TextExpander has several solutions for correcting your little typing errors. Accidental Double Capitals Capital letters begin sentences and proper nouns, as well as occur in the middle of some of your favorite brands …