little brown bird in tree top near “Kunigundenkirche” in Borna, Saxony
Daily picture from Saturday, 28th of March 2009
Nach längerer Abwesenheit hier im Blog geht es nun wieder los!
Bis zum nächsten Beitrag…
Hey everybody,
a few days ago I signed up to Twitter.
Today I spent some time on setting up my Chatclient script (simple AppleScript script which sets a text as a status message for my chatclients Adium and Skype) - and it works!
1 First of all you have to get your key of your twitter acount from the Keychain
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
2 Set the text from your input to the twitter_status
set twitter_status to quoted form of ("status=" & mood_message)
3 Send your message to twitter via curl
do shell script "curl --user " & twitter_login & " -F " & twitter_status & " http://twitter.com/statuses/update.json"
Thanks to Growlified Tweet Deluxe (based on Ted Leung’s Growlified Tweet) for the original code.