Archive for March, 2008

Quick TinyURLs with TextExpander and AppleScript

Wednesday, March 19th, 2008

[ Update (10/22/08): We've had many reports the original AppleScript by David Smalley has stopped working. TheĀ improved AppleScript by JD Strong continues to work. Even David Smalley posted that he is using JD Strong's AppleScript now.

Also, if you want to see the step-by-step instructions for adding this AppleScript to TextExpander, Jeff Gamet just posted a great tip at The Mac Observer. ]

I just came across this neat tip on developer David Smalley’s blog. It uses AppleScript to generate a tinyURL with a TextExpander abbreviation.

(If you’re not familiar with Tiny URL, it’s an online service that converts long URLs into short ones more appropriate to share in email and microblogs.)

I am no AppleScript maven, but it sounded pretty cool. I’ve been using Tiny URL a lot lately since I started using Twitter. So I consulted Greg, whose works on TextExpander development, to see what he thought. His response:

This does work, and it’s quite convenient. Here’s an easy way for you to import this:

And he sent me the AppleScript wrapped in a TextExpander Group. You can download it here:
http://www.smileonmymac.com/textexpander/tinyurl.textexpander.zip

Download and unzip it, and then add the group in the TextExpander preferences pane.

Then you’re set to follow Greg’s instructions:

You select a URL, copy it to the Clipboard, then type “tinyurl” (and your delimiter if you’re not doing instant expansion) then wait a few seconds and “tinyurl” will be replaced by a tiny URL.

If you’re a real geek, you can grab the AppleScript from the original blog post and create your own AppleScript snippet in TextExpander.

SmileOnMyMac in Miami

Sunday, March 2nd, 2008

I just got back Miami this week on a combination work/personal visit. I was born and raised here, and I never pass up a chance to come down to Florida during February.

I gave a presentation to the Gold Coast Mac Users Group, showing off PDFpen and DiscLabel primarily. Several members of the audience chimed in to share their happy SmileOnMyMac customer stories. What a fine and intelligent group! :-)

IMG_5514.jpg

I also gave a demo at the Apple Store at The Falls in South Miami. The demo coincided with the enormous power black-out that we had in Florida last week. The demo was postponed for the 45 minutes the power was out.

IMG_5507_2.jpg

Apple Store customers are sure dedicated. Lots of people waited outside the store waiting for it to reopen. It was crowded almost before the computers had booted back up!