windows9download

You Here : Home > Linux

ZenTwitter 1.0

OS Support:


Publisher

Publisher Old version

Update:

October 5 2011

Download:

ZenTwitter 1.0


Description

ZenTwitter is a small script to update your Twitter account without its it is necessary to have a browser window open all the time. It uses zenity and cURL.Requirements: · zenity · curlInstallation: Just throw it in your ~ / bin, open it in the editor you want to change the username / password, make it executable (chmod a + x) and add a launcher icon to the panel / menu / desktop window of your favorite manager.Source ~ / bin / ZenTwitter.sh #! / Bin / bash # @ author Michael Klier # @ # www http://www.chimeric.de/pojects/ZenTwitter trivial customer Twitter status update # username / passwordUSER = "username" pass = "password" # main ScriptUrl = "https: / / twitter.com / articles / update.xml" zenity = / usr / bin / zenityCURL = / usr / bin / curl # check if zenity is installed [[! $ zenity-x]] then echo "ERROR: Zenity is missing!" 1FI exit # check if curl is installed [[! $ CURL-x]] then $ zenity - error - text = "ERROR: curl is missing" - title = "ZenTwitter Release # 1FI get zenity tweettweet =$(${) |> - entry - text =" Gimme your tweet "- title =" ZenTwitter ") if [[" $? "== 1]] then exit 0fi while [[$ (echo" $ (Tweet) "| tr-d'') ==" " ]]; not Tweet =$(${ zenity) |> - input --text = "D'oh! You entered nothing! Try again or cancel "- title =" ZenTwitter ") if [[" $? "== 1]] then exit 0 # update status Fidon CURL $-u $ (USER PASS }|>:${ ) |>-d status = "$ (Tweet)" $ (url) |>-k if [[ "$?" == 0]] then $ zenity - info - text = "Update successful! - Title = "ZenTwitter" 0else exit $ zenity - error - text = "Something went wrong! NRun ZenTwitter.sh from a command line for more information!" - Title = "ZenTwitter Release 1FI


Related Downloads


Software Tags

Zentwitter | Zentwitter 1.0 | Zentwitter Free Download | Zentwitter Reviews | Download Zentwitter

Size :

Next/Pre