Hello,
In reference to the discussion http://bbs.macscripter.net/viewtopic.php?id=26938 ,
someone asked me about detecting when a chat has closed in iChat and then having iChat quit.
iChat’s dictionary has a handler for just about everything, and I found one for closing a chat. Here’s my code:
using terms from application "iChat"
on av chat ended theObject
tell application "iChat" to quit
end av chat ended
end using terms from
I made the script Stay Open and had it running, then closed an iChat script. Nothing happened. I don’t see a way to trace it because it has to be running.
Has anyone done this? Thanks.