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
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:
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.
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
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.
Scott
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.
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.
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
This is so frickin’ sweet. Thanks!
Works wonderfully.
Thanks!
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!
Big up!
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.
Pingback: MattMatteson.com » Blog Archive » Tweeter = Twitter + QuickSilver + iChat + Growl
sweet! ๐
Pingback: Free Apple iPhone Stuff » Twitter and Quicksilver, two great tastes
Pingback: Twitter for Colloquy » BabylonDreams
Pingback: Tweet - Update Twitter via Quicksilver
Pingback: rubenbroman.se » Twazer
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.
Pingback: Twitter | myMacBUZZ
Pingback: Apple Cabinet » A word count action script for Quicksilver
Pingback: One status to rule them all at electric weekend
I think I’m in love.
Pingback: Fnord.
Pingback: …You should be twittering? at Didn’t You Hear…
Pingback: Twitter, Growl and Quicksilver at tin-men
Pingback: Lacking Credibility » Archives » Glamorous Apparel
Pingback: Bwana.org » Blog Archive » Twaiku
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
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
Pingback: xeophin.tapestry » Blog Archive » links for 2007-04-25
Pingback: Twitter, Growl, Quicksilver and Adium at tin-men
Pingback: yozz.net » Archive du blog » Poster sur Twitter avec Quicksilver et Growl
Pingback: Twitter, Growl, Quicksilver and Adium: TweetIM at tin-men
Pingback: More thoughts on Ambient Intimacy and Twitter at Ted Leung on the Air
Pingback: Julius Eckert » FriendFeed’s friend: QuickSilver
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.
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.
I’ve updated the script so it should be working now.
Pingback: Growlified Tweet is working again at Ted Leung on the Air
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.
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.