quote:
Originally posted by MrR
...Cause I want it to output it several times
...Well I ensure you that if I'll dispose the window in the middle I won't need the script in a first place. ^^
...I mean to all of the people in the same chat window I was using, basically to the same window so whoever in it will see it.
Again, do not store the window handle!
If you are not sending the message immediatly, for any reason, you should not store the handle but the email address(es) of the contacts.
You
will otherwise encounter problems in certain situations. Even if you say you don't close the window yourself.... Before actually using the chatwindow object, you should at the least check if:
a) the window is still there
b) you are able to send a message to the window