Here is a way to automatically change your status when sending or receiving audio/video invitations. You'll need to create four simple AppleScripts, and save them into your user's Library » Scripts » iChat folder (create the folder if necessary).
Open Script Editor (in Applications » AppleScript), then copy and paste these scripts, one at a time, into the Script Editor window. Click the Compile button, then select File » Save As and point to the previously-noted iChat folder. Name them as shown with each scripts code, on the second page of the hint...
Script name: iChat invited video.scpt
using terms from application "iChat"
on received video invitation theText from theBuddy for theChat
set status to away
set status message to "In conference"
end received video invitation
end using terms from
Script name: iChat invited audio.scpt
using terms from application "iChat"
on received audio invitation theText from theBuddy for theChat
set status to away
set status message to "In conference"
end received audio invitation
end using terms from
Script name: iChat started.scpt
using terms from application "iChat"
on av chat started
set status to away
set status message to "In Conference . . ."
end av chat started
end using terms from
Script name: iChat ended.scpt
using terms from application "iChat"
on av chat ended
set status to available
set status message to "Available . . ."
end av chat ended
end using terms from
You now need to create four alerts in iChat. Open iChat's preferences, select the Alerts icon, and then set up four new rules, attaching one script to each specified event:
Mac OS X Hints
http://hints.macworld.com/article.php?story=2008050113495340