Thursday, May 15, 2008

Tiny Applescript: toggle iChat status

This script toggles your iChat status between (away, "totally walking around") and (available, [whatever you had as your available status before]). It even works with Current iTunes Song(!).

If your status is available, then it writes your status message to a hidden file (.temp_iChat_status) in your preferences folder and changes your status to away and your status message to "totally walking around". Conversely, if your status is away, it reads whatever's in that temp file and sets it as your status message and makes you available.

Attach this to a keystroke trigger (via Quicksilver or the like) and life is grand.

Here's the script. And there you go. Here's a unicorn from Eeyore's Birthday in Austin.

Unicorn from Eeyore's Birthday