Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Update Status from selection
- #Configure your details here:
- user='user@domain.com'
- pass='password'
- "$TM_BUNDLE_SUPPORT"/bin/twitter.sh "$user" "$pass" "$TM_SELECTED_TEXT (from TextMate)" &
- ## Update Status
- #Configure your details here:
- user='user@domain.com'
- pass='password'
- res=$(CocoaDialog inputbox --title "Twitter from TextMate" \
- --informative-text "What are you doing?" \
- --button1 "OK" --button2 "Cancel")
- [[ $(head -n1 <<<"$res") == "2" ]] && exit_discard
- res=$(tail -n1 <<<"$res")
- "$TM_BUNDLE_SUPPORT"/bin/twitter.sh "$user" "$pass" "$res (from TextMate)" &
Add Comment
Please, Sign In to add comment