What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Get recipients email & name using ChatWndSendMessage

Get recipients email & name using ChatWndSendMessage
Author: Message:
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: RE: Get recipients email & name using ChatWndSendMessage
quote:
Originally posted by hmaster
I think you can use this:
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
     var Contacts = ChatWnd.Contacts;
     var e = new Enumerator(Contacts);
          for(; !e.atEnd(); e.moveNext()) {
               var Contact = e.item();
               Debug.Trace(" " + Contact.Email);
          }
}
It should get all participants in a conversation.

That displays the email, if you want their nickname instead use:
Contact.Name
and their PSM:
Contact.PersonalMessage

You can find more here:
http://www.mpscripts.net/docs.php
02-17-2007 03:57 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Get recipients email & name using ChatWndSendMessage - by Bolter99 on 02-17-2007 at 03:45 PM
RE: Get recipients email & name using ChatWndSendMessage - by hmaster on 02-17-2007 at 03:50 PM
RE: RE: Get recipients email & name using ChatWndSendMessage - by vikke on 02-17-2007 at 03:57 PM
RE: Get recipients email & name using ChatWndSendMessage - by Bolter99 on 02-17-2007 at 04:13 PM
RE: Get recipients email & name using ChatWndSendMessage - by vikke on 02-17-2007 at 04:39 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On