Get With TextExpander and TinyURL. A few weeks ago on Twitter, TJ asked if we couldn’t do one for the shortening service I thought I would use TJ’s challenge as a personal one to push the limits of my limited geekiness and figure it out myself. I got as far as looking at the API, and thought “I’m not going to be able to figure this out without help.” Then I got busy with stuff and promptly forgot about it. A few days ago, I saw this post and tried the script the author offers. It didn’t work for me, so I referred to my colleague Greg (aka he who knows all about TextExpander). He told me that:

The author is using a non-standard Unix tool (wget), i.e. not one which is installed with stock Mac OS X. It was fairly easy to replace his use of wget with curl, and so I’ve done.

I definitely would have never figured that out myself. You can download Greg’s revised AppleScript snippet and try it out. The zipped file contains a TextExpander snippet group (of one snippet) that you can add to your library by choosing “Add Group From File…” from the Add menu. And you’re welcome, TJ. 😉