The Mac Observer

Instant TinyURLs from TextExpander

March 20th, 2008 at 3:00 PM - Tips by Jeff Gamet

TinyURL is really great because it shrinks long Web addresses down to a much smaller and more manageable size, but it usually takes several steps to get those compressed URLs. With a little help from AppleScript and TextExpander, however, you can cut that process down to just a couple of steps.


The TinyURL Web site.

First, youill need TextExpander 2. This app expands abbreviations that you define into words or text blocks, and it can also run AppleScripts. It costs US$29.95 and you can download it from the SmileOnMyMac Web site.

Youill also need David Smalleyis cool AppleScript that converts any URL you copy into a TinyURL. If you donit feel comfortable mucking around with AppleScripts, SmileOnMyMac has a version you can download and import directly into TextExpander.

Once you have all of the pieces, hereis what to do -- assuming you are using SmileOnMyMacis pre-built script:

  • Double-click the file you downloaded from the SmileOnMyMac Web site. It should automatically expand and leave you with a file named tinyurl.textexpander.

  • Open TextExpanderis preferences.
  • Launch TextExpander. You can either choose TextExpander Preferences from the TextExpander menu bar item, or launch System Preferences and click on the TextExpander Preference Pane icon.

  • Adding the AppleScript to your snippets.
  • Now click the plus button in the lower left corner of the Preference Pane and choose Add Group from File.
  • Navigate to and select the tinyurl.textexpander.

Hereis how to use your new TextExpander script:

  • Select and copy a URL you want converted into a TinyURL.
  • Place your cursor where you want the TinyURL to appear.
  • Type tinyurl -- which is the pre-assigned abbreviation for the AppleScript that generates the TinyURL for you.
  • The TinyURL version of the Web address will automatically appear at your cursor insert point.

I find this little AppleScript to be stunningly useful and a great time saver, especially when the number of characters or how much you can type is strictly limited. Yes, Iim thinking Twitter, but you can use this trick in other applications, too.

[Thanks to Jean at SmileOnMyMac for turning me on to this great AppleScript.]

<!--#include virtual="/includes/newsite/series/quicktip.shtml"-->

  • Related Entries
  • Email This
  • Tweet This
  • Jeff Gamet on Twitter
Login. Need an account? Register here.



Auto-login on future visits

Show my name in the online users list

Forgot your password?


Commenting is not available in this section entry.
 

Recent Headlines - Updated November 10th

Tue, 3:12 PM
News - MAD Artist Lashes Out at Apple for Rejecting iPhone App for Political Caricatures
2:19 PM
Deal Brothers - Canon PowerShot A1100IS 12.1 MP Digital Camera:  $129.99
1:35 PM
Analysis - How the TMO Staff Members Use Their iPhones, Part I of II
11:45 AM
Product News - Microsoft Office 2008 12.2.3 Addresses Security Flaws
11:18 AM
Product News - OWC Axes Axiotron Modbook Prices by $500
10:39 AM
Hot Forum Topic - Multi-drive Data Shuffle
9:59 AM
News - Google Offers Up Free Wi-Fi for the Holidays
9:34 AM
Product News - MiniMail 2 Adds Snow Leopard Support
8:58 AM
News - AT&T: iPhone Tethering Really is Coming… Eventually
8:16 AM
News - Apple Releases Security Update 2009-006 for Leopard, Snow Leopard
Mon, 7:20 PM
Rumor - Apple May Update iPod touch in December
6:45 PM
Product News - MacUpdate Desktop Updated to 5.0.1 with New Features, Bug Fixes
 

The Mac Observer Reader Specials

  • TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
  • RamJet Memory: Mac Pro 8-core 8GB Kit $199.99, 4GB Kits $109.99! Sale on MacBook and MacBook Pro 8GB kits $549.99! New MacBook DDR3 2GB for $49.99. iMac and Mac mini 4GB Kits for $79.99! 1TB SATA Hard Drives for $109.99! Click here
  • OWC: Plug & Play Hardware RAID up to 8.0TB. High Performance, Data Redundant Solutions. FireWire 800, FireWire 400, USB2, or eSATA. Hot Swappable Bays, Data Rates over 200MB/s. Click here
  • Poker Mac If you're using a Mac, then you've gotta check out Full Tilt Poker for Mac. This Full Tilt Poker bonus code does the unthinkable, it actually rewards!
  • For the latest Apple products use Ciao, a price comparison website, to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate mobile phones like the Apple iPhone.

  • Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
  • Buy Stuff, Support TMO!
  • __________
  • Macworld Expo 2010 Hotel Deal
  • TMO on Twitter!

Apple Stock Quote

  • AAPL: $202.97. Change: +1.51.
  • (Prices delayed up to 20 minutes.)
  • Discuss in our Apple Finance Board

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features