Growlified Tweet

I’ve updated Tweet, the Applescript Quicksilver action for Twitter, so that it sends a Growl notification when it completes. The code is here.

Tags: , , ,

35 Responses to “Growlified Tweet”

  1. This is so frickin’ sweet. Thanks!

  2. Bassam says:

    Works wonderfully.
    Thanks!

  3. Bru says:

    This is absolutely sweet!
    Would be just perfect if the growlification could go the other way around, I mean notifying of new incoming twitters… but probably that’s something for twitterific more than for Tweet.scpt

    Anyway, again thanks for the good stuff!

  4. JoacimW says:

    Big up!

  5. Matt says:

    Thanks for the great script.

    I just edited the script so it pushes the update to your iChat Status Message.

    You can see it here.

  6. […] First, check out Twitter.com, it’s a little status board. I found a script over on CodaHale.com that lets you update your twitter account from quicksilver. Then Ted added Growl support to it. […]

  7. Chris says:

    sweet! 😀

  8. […] First Coda Hale whipped up a QuickSilver action, using AppleScript, enables you to post tweets (that’s what messages posted to Twitter are called) using only QuickSilver. Then Ted Leung took the same script, but added Growl notification which lets you know when the tweet has been posted via Growl. […]

  9. […] Coda Hale created a Quicksilver action to post conveniently to Twitter. Ted Leung thought it would be nice to have Growl notifications in the mix and Matt Matteson thought it needed a bit more sparkle by adding iChat support. Well, now I add two more options to the mix. […]

  10. […] Tweet, a Twitter Quicksilver Action, is my favorite Twitter updating vehicle as of late – except for one thing. It uses Keychain Scripting to access your saved Twitterrific username and password – which, for some ungodly reason, takes about 30 seconds on my Mac Book Pro. […]

  11. […] Twazer is a neat applescript based on Tweet, that not only gives a Growl notification and changes the iChat status but also adds the current Plazes location to the Twitter update. The code is based on Peter Rukavinas script to set the Adium status message to the current Plazes location and Matt Mattesons updated Tweet script. […]

  12. Joe Carroll says:

    Thanks a million for this Ted.

    I love Quicksilver, but the one problem with using it to update Twitter was that you couldn’t tell if your tweet was too long. Word/letter/line counting is a simple but useful function that I couldn’t find anywhere else in Quicksilver, so I wrote my own AppleScript action for it (I borrowed your code for Growl notifications). Anyone who wants to add such functionality to Quicksilver can get the script from my post on the Quicksilver forums here:

    http://blacktree.cocoaforge.com/forums/viewtopic.php?t=5436

    I hope people find this useful. Previously I’d echo my tweet through a pipe to wc and run as a shell command. This action is a big improvement 🙂 I activate Quicksilver, press period to enter my text, then tab, then WC to select my Word Count action, enter, then (assuming it’s not too long) press tab and TW to select the Tweet action and press enter.

    Now Quicksilver is my favourite way to update Twitter too!

    Now Quicksilver provides my favourite way to update Twitter.

  13. […] My favourite way though is to use Quicksilver (you can tell I’m a real Quicksilver fan now). The original Applescript was written by Coda Hale. Then Ted Leung modified it and added Growl support so that Quicksilver notifies you once your tweet is successfully posted. […]

  14. […] Word/letter/line counting is a simple but useful function that I couldn’t find anywhere else in Quicksilver, and it’s is particularly useful for checking the length of Twitter updates before sending them using, for example, the Tweet action by Coda Hale, or this improved version with Growl support by Ted Leung. Thanks to Ted for the Growl notification part of … […]

  15. […] It worked well, except there was one thing I didn’t like about it. I was unable to tell if the post to Twitter had worked. With a little more searching I found a version that added a little Growl notification to the process. It added something that ensured a Growl notifcation popped up on my display when the Tweet was succesful. […]

  16. krew says:

    I think I’m in love.

  17. Fnord. says:

    […] Another, also claims QS […]

  18. […] Coda Hale put together a great piece of script that lets you tweet using Quicksilver, and then Ted Leung modified it so that Growl can let you know that your tweet was […]

  19. […] here’s the meat of the post. Go to this web site, and download the growl-ified version of Tweet, and then head over here and follow the installation instructions. You obviously don’t need […]

  20. […] I found some interesting things. First off, the Tweet+Growl thing got a lot of traffic, even though Ted Leung beat me to it by like 2 months. Second I’m got hit by the search string “Glamorous […]

  21. […] Twitter/Growl script by Ted Leung […]

  22. breun says:

    I modified your Growlified Tweet script to check the message length before sending it off to Twitter. Maybe some of you might be interested:

    using terms from application "Quicksilver"
    on process text tweet
    -- Init
    my growlRegister()
    set charcount_max to 140
    set charcount_tweet to (count characters of tweet)

    -- Check message length
    if charcount_tweet ≤ charcount_max then
    -- Get credentials for twitter.com
    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)
    try
    -- Send tweet
    do shell script "curl --user " & twitter_login & " -F " & twitter_status & " http://twitter.com/statuses/update.json"
    -- Display success message
    growlNotify("Tweet Sent", tweet)
    on error
    -- Display error message
    growlNotify("Error Sending Tweet", "There was an error sending your Tweet.")
    end try
    else
    -- Tweet is too long
    growlNotify("Tweet Too Long", "Tweet is " & charcount_tweet & " characters long. The maximum length is " & charcount_max & " characters.")
    end if
    end process text
    end using terms from

    using terms from application "GrowlHelperApp"
    -- Register Growl
    on growlRegister()
    tell application "GrowlHelperApp"
    register as application "Tweet" all notifications {"Alert"} default notifications {"Alert"} icon of application "Script Editor.app"
    end tell
    end growlRegister

    -- Notify using Growl
    on growlNotify(grrTitle, grrDescription)
    tell application "GrowlHelperApp"
    notify with name "Alert" title grrTitle description grrDescription application name "Tweet"
    end tell
    end growlNotify
    end using terms from

  23. breun says:

    I modified your Growlified Tweet script to check the message length before sending it off to Twitter. Maybe some of you might be interested: http://www.breun.nl/2007/04/growlified_tweet_deluxe.html

  24. […] Ted Leung on the Air » Growlified Tweet Even though there are even more advanced versions out there (including integration of plazes), this is all I need. (tags: growl applescript internet twitter quicksilver tweet osx lang:en) […]

  25. […] script I’d found that allows you to update Twitter using Quicksilver (my script is based off Ted’s script). Well, I decided I wanted to do more. I made a script that changes your iChat status, but […]

  26. […] cela il suffit d’utiliser le script quelque peu modifié de Ted Leung on the Air, lui même étant une version modifiée du script de […]

  27. […] script I’d found that allows you to update Twitter using Quicksilver (my script is based off Ted’s script). Well, I decided I wanted to do more. I made a script that changes your iChat status, but […]

  28. […] is similarly multimodal, with me using the closest Twitter input box, and also a QuickSilver action. If I use the web page, the degree of ambience is low. I don’t sit there with a Firefox tab […]

  29. […] friend asked me to fix his try to convert the Growlified-Tweet-QuickSilver script for FriendFeed […]

  30. Arif says:

    Hi Ted,
    Thansk for this bud. For some reason though the script isn’t working. The Growl alert comes up fine, but the tweet never gets twittered. The original QS tweet script here is working ok.

  31. Scott says:

    Thanks for the beautiful work, but I’m sorely missing the use of this script since late December. Growl alerts keep popping up but Tweets never actually reach their destination. Any idea what might need adjustment? I’m guessing Twitter changed something.

  32. Ted Leung says:

    I’ve updated the script so it should be working now.

  33. […] updated the Growlified Tweet script to deal with some changes in the Twitter API. Enjoy! Share and […]

  34. Scott says:

    Thanks so much. This script has really made an impact on my daily life. Not that I’m a twittaholic, but it makes my twitting impulses that much less distracting.

  35. I’m an avid Quicksilver and Twitter user. I found this today, but as I’m not skilled at scripts etc I seem to be having trouble.

    As I understand it, I…
    1. copy your scpt file into an Actions folder in the user/library/applicationsupport/quicksilver folder…
    2. restart quicksilver
    3. cmd-space period tab enter
    4. growl notifies me that tweet is sent

    but nothing happens after #3

    help?
    h.

Leave a Reply