Created
November 25, 2008 21:58
-
-
Save heycarsten/29119 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ("source=qucs&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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment