Take the following really simple application:
tell application "iChat" to get the participants of the first text chat
Unfortunately, if you have multiple chat tabs open, the “first text chat” is apparently the first one that was opened, not the one that is currently active. Does anybody know how to access the currently active chat?
Thanks!