I am trying to create a script to close all the windows in iChat, including any alerts (such as “That user is offline” or “That user is busy in another conference”), So far I have:
tell application "iChat"
tell every window
close
end tell
end tell
But, this does not seem to close those alert boxes! What’s wrong?