Lessn TextExpander Snippet 4/7/13
This weekend I setup chris.lt as a personal link shortening service using Shaun Inman’s Lessn. Lessn has a web interface and a bookmarklet, but I like using TextExpander to shorten URLs from the clipboard1. So I just copy the URL, type the shortcut (I set mine up as “/lessn”) and TextExpander replaces it with the shortened URL.
This is the AppleScript for the snippet:
If you have any bug fixes or changes, fork this gist.
-
Brett Terpstra has a set of TextExpander snippets that include shortening with bit.ly, is.gd, and tinyurl. ↩