Sometime back I posted an applescript to tweet news items in NetNewsWire to your twitter followers and seems like many people found it useful. I’m really glad that I could find some time today to make a few updates on the script.
New features
- Twitnews now saves your twitter login details to the keychain itself. The old script needed you to save your twitter login credentials to the system keychain manually. Now, it checks for the twitnews key in your keychain and if it does not exist, asks you for them and creates the key for you.
- Growl support.
- Checks character count is within 140 characters.
- Uses Tr.im URL shortener so that you can use Tr.im analytics feature if you use it.
I would however like to use Usable Keychain Scripting by Daniel Jalkut of Red Sweater Software, considering the problems faced by some users, which I blame Apple for their really bad implementation of Keychain Scripting. I tried using Daniel’s scripting definition but could not get it to work, probably it is not updated for Snow Leopard. I’m not sure about this, so if you have suggestions on how I can improve the script, please leave your comments.
Please download it here.
Usage
Unzip and drop it into ~/Library/Application Support/NetNewsWire/Scripts. Now you can access the script from the scripts menu on NetNewsWire.
If you would like to assign a keyboard shortcut to the script, check this post.
What else ?
The script has been tested on 10.5 and 10.6, but still if you find it buggy, please let me know in the comments. Otherwise, I hope you find it useful.
The code is available at Github.
UPDATE: If you’d prefer to use Bit.ly URL shortener, the script has been updated by Sean to use Bit.ly for click tracking.
UPDATE: Tr.im has been shut down :( Please see this post for an updated script.





February 15th, 2010 at 10:11 am
[...] Twitnews update | making things work [...]