iChat script to close video window at the end of video chat
I need to set iChat on my parents computer to automaticaly close video window when A/V Chat Ended (from Alerts in Prefferences).
The closest script I found to what I need is
using terms from application "iChat"
on av chat ended theChat
try
close windows
end try
end av chat ended
end using terms from
This however closes all the windows of iChat. I need all of them to stay open so my parents can see my new text message coming. The only one that needs to close is the Video Window.
Please help! Thanks in advance.
J.D