I did read it but I assumed you would understand...
Use this to send to someone on your contact list...
js code:
for(var e = new Enumerator(Messenger.MyContacts); !e.atEnd(); e.moveNext()){
if(e.item().Email == "Person you want to send message to"){
e.item().SendMessage("blah");
//e.item() = ChatWnd object
}
}
Use this to send to someone who you have an open window with
js code:
for(var e = new Enumerator(ChatWnd.Contacts); !e.atEnd(); e.moveNext()){
if(e.item().Email == "Person you want to send message to"){
e.item().SendMessage("blah");
//e.item() = ChatWnd object
}
}