Set iChat/Adium status line to latest Twitter message
Mon, Oct 13 2008 at 7:30AM PDT • Contributed by: miketyson
Mon, Oct 13 2008 at 7:30AM PDT • Contributed by: miketyson
Expand the reach of your Twitter status updates by making them propagate to your instant messaging accounts in iChat or Adium. Here's a Ruby script that grabs your latest Tweet and sets it as the status for iChat and Adium, if they're running. Add it to your crontab to run it regularly and keep in sync.
Instructions:
For more help with this script, please see the original post on my blog.
[robg adds: I haven't tested this one.]
Instructions:
- Save the following code to ~/Library/Scripts, and name it sync-status-with-twitter.rb:
- Open it in, say, TextEdit and replace MyUserName at the top of the file to your actual Twitter username.
- Open Terminal (in Applications » Utilities), and make the script executable: chmod +x ~/Library/Scripts/sync-status-with-twitter.rb
- Open your crontab: crontab -e
- Add a line to crontab to run the script regularly:
- Press o to insert a new line
- Paste the following line:
*/30 * * * * ~/Library/Scripts/sync-status-with-twitter.rb
The 30 here means run every 30 minutes. Change it if you want. Some alternatives for the first bit are:- */10 * * * * -- Every 10 minutes
- 0 * * * * -- Hourly, on the hour
- 0 */2 * * * -- Every second hour, on the hour.
- Press escape to stop editing
- Hold down shift and press ZZ (Z key twice) to save and quit
For more help with this script, please see the original post on my blog.
[robg adds: I haven't tested this one.]
•
[11,796 views]
