Skip to content

Instantly share code, notes, and snippets.

@waynezhang
Created January 11, 2012 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waynezhang/1593195 to your computer and use it in GitHub Desktop.
Save waynezhang/1593195 to your computer and use it in GitHub Desktop.
Quote RT for Hibari
#!/usr/local/bin/jstalk
var application = [JSTalk application:'Hibari'];
var currentTweet = [application selectedTweet];
var controller = [application windowController];
[[controller composeArea] setStringValue:'RT: @' + currentTweet.screenName + ': ' + currentTweet.tweetText];
[controller newTweet];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment