Twitter URLs using Quicksilver

Wouldn’t it be nice to send the URL you’re currently looking at in Safari directly to Twitter by just executing a Quicksilver command or even by hitting a hotkey? I think, yes it is! And so I wrote an Applescript that performs the folowing tasks:

  1. Read the URL and title of the website currently shown in Safari
  2. Create a short URL using is.gd
  3. Open Twitter in Safari showing a message like “The site’s title (http://is.gd/abcd)”
  4. Additionally the short URL is copied to the clipboard

Twitter URL with Quicksilver

Just copy the script to a directory where Quicksilver can find it and you’re done. Tweeting an interesing website is a breeze. You could even set up a Quicksilver trigger and assign a hotkey for even easier execution.

Twitter message

The script itself uses some snippets from external resources. This site is a great overview on how to shorten URLs with Applescript and how to use it with Quicksilver. A routine for finding and replacing text can be found here.

Download the script: Twitter URL

Share and Enjoy:
  • Facebook
  • Twitter
  • del.icio.us
  • Diigo
  • Google Bookmarks
  • Digg
  • Reddit
  • StumbleUpon
  • MySpace
  • MisterWong
  • DZone
  • Slashdot
  • PDF
  • Print
  • email