
Hi guys. I’ve been using iChat a lot later, so I decided to create a script in order to use iChat with Alfred.
Alfred :
Alfred is a productivity application for Mac OS X. If you don’t know it yet you should visit the website or @preppeller the creator of alfred on twitter.
iChat Extension :
This little applescript can do several things : log you in or out on every services, change your status to available, away or the current song in itune, and finally send messages. If you want more commands for this extension please contact me.
How it works :
ichat in : log you in for all services
ichat out : log you out for all services
ichat ava : set your status to available
ichat away : set your status to away
ichat (query) : set your status to current track in itunes with (query) is track, song, music or itunes
ichat your-message @ name_of_contact : send the specified message to the contact. Please ensure that the whole command contains ” @ ” only once (otherwise the script get confused) and that you’ve wrote correctly the contact name.
Update : I made few modifications to the script. You can now use the following syntaxes.
ichat your-message @ full_name_of_contact
and
ichat your-message @ shortname_of_contact
So you can either type the full name of the contact or a special short-name of your own. To do so, just modify this part of the script :

For example to add a new shortname, just duplicate from “else if receiver” to “Complete Name of Foo2” and put your own text inside. Like that it takes much less time to send a message to someone.
Please note that you’ll need the latest version of Alfred and Powerpack in order to use this extension.
To make it more efficient :
I did this extension to allow me to quickly answer on iChat while doing some stuff without switching windows all the time. I hide iChat and let it display me incoming message. To achieve that you still need a notification system :
I found a little software named Chax which aims to make iChat more powerful and brings Growl support to iChat.
Unfortunately if you run Mac OS X 10.7, Chax isn’t available yet. So I found a very complete Applescript I slightly modified to make him work with Growl for 10.7.
You can download the script here. I found the original one here.
Once you’ve download it, just move it to ~/Library/Script/iChat/ and do the following in iChat preferences :

When somebody send me a message, I run the script which display the message in Growl notification.
Download :
Download Link
Support :
For any questions or suggestions you can contact me @Silouane20 on Twitter. There may be bugs remaining so please let me know.