JavaScript TextExpander Date / Time Formatting

Greg Scown Blog, TextExpander, TextExpander Tips

TextExpander comes with broad date and time format support, but it may not have everything you want. Sometimes, we solve that by adding features. Other times, we can lean on TextExpander’s scripting support. Some users have asked for ordinal date (1st, 2nd, 3rd, …13th …31st) support. Here’s how to leverage a popular JavaScript library to make that work today. Important: …

Come See Us At J.E.R.K. Conference

Maia Olson Blog, Public Appearances, TextExpander

This October, TextExpander is excited to sponsor the Juris Educational Resource Knowledge for Legal Nurse Consulting conference, known as the J.E.R.K. conference. This is the 8th annual medical-legal nurse conference. Just a few of the topics covered will be injury, catastrophic trucking accidents, digital evidence from EMR systems, major burns, and analysis of nursing home cases. The J.E.R.K. will be …

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 …