The more I use Quicksilver the more I love it. It’s so complicated that it can be daunting at times, but it’s time well spent. Today, I spent some time trying to streamline some of the things I do on my laptop without having too many windows open. I stumbed across an interesting article that lets you post to twitter with quicksilver.

  1. Install Quicksilver, Install Twitterific.
  2. Use the following script
  3. Use the script posted below
  4. Open Script Editor, and post the code into it.
  5. Save it to

    ~/Library/Application Support/Quicksilver/Actions

  6. Name it tweet.scpt
  7. Make sure you have an Actions folder, I didn’t so I had to create it.
  8. Restart Quicksilver. Make sure the script you created is listed in the preferences of Quicksilver under actions.
  9. Now the fun part. Launch Quicksilver
  10. Push the period key to enter into text mode.
  11. Hit tab to move to the next action box and begin to type your script name.
  12. Voila!

Note: you have to have Twitterific installed because the script uses the keychain information to access the twitter server. The first time you do it, you’ll be asked to allow access to the keychain info. It’s normal.

using terms from application "Quicksilver"
on process text tweet
tell application "Keychain Scripting"
set twitter_key to first Internet key of current keychain whose server is "twitter.com"
set twitter_login to quoted form of (account of twitter_key & ":" & password of twitter_key)
end tell
set twitter_status to quoted form of ("status=" & tweet)
set results to do shell script "curl –user " & twitter_login & " –data-binary " & twitter_status & " http://twitter.com/statuses/update.json"
— display dialog results
return nothing
end process text
end using terms from

Script courtesy of Codahale