Bob Ippolito (@etrepum) on Haskell, Python, Erlang, JavaScript, etc.

Using aeve to make iTunes talk to iChat


I was originally going to write a little bit about the unicodedata module, but google tells me that Ludoo already did. So instead, here's a quick aeve script that will set your iChat status message to the current track in iTunes (make sure to run with pythonw, it needs WindowManager access).

import aeve
ichat = aeve.talkto('')
itunes = aeve.talkto('')
ichat.status_message = u'\N{BEAMED EIGHTH NOTES} %s - %s' % (,

Also see Donovan Preston's iTunesStatus script (requires Twisted and Quotient) that makes the same information available from a web browser!

blog comments powered by Disqus