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:
- Read the URL and title of the website currently shown in Safari
- Create a short URL using is.gd
- Open Twitter in Safari showing a message like “The site’s title (http://is.gd/abcd)”
- Additionally the short URL is copied to the clipboard
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.
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





