What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Checking who is in a conversation

Checking who is in a conversation
Author: Message:
Shondoit
Full Member
***

Avatar
Hmm, Just Me...

Posts: 227
Reputation: 15
36 / Male / Flag
Joined: Jul 2006
RE: Checking who is in a conversation
This is right from the scripting documentation...
The only thing you need is a reference to a window and loop through it

code:
//Get the contacts of the conversation
var Contacts = ChatWnd.Contacts
//Start looping through all the contacts
//An Enumerator is an object which contains a list of the thing you pass to it
//Then 'moveNext' through the list while it's not at the end

for(var e = new Enumerator(Contacts); !e.atEnd(); e.moveNext())
{
                //Then you get the current item from that list
                var Contact = e.item()
                //And print the Email, or whatever you want...
                Debug.Trace(Contact.Email)
}

This post was edited on 09-13-2006 at 06:22 AM by Shondoit.
My scripts:                            [Image: shondoit.gif]
+ Timezone
+ Camelo
+ Multisearch
09-13-2006 06:20 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Checking who is in a conversation - by Robin4286 on 09-12-2006 at 11:49 PM
RE: Checking who is in a conversation - by Voldemort on 09-12-2006 at 11:50 PM
RE: Checking who is in a conversation - by Robin4286 on 09-12-2006 at 11:52 PM
RE: Checking who is in a conversation - by deAd on 09-12-2006 at 11:58 PM
RE: Checking who is in a conversation - by Robin4286 on 09-13-2006 at 12:09 AM
RE: Checking who is in a conversation - by Shondoit on 09-13-2006 at 06:20 AM
RE: Checking who is in a conversation - by CookieRevised on 09-13-2006 at 10:07 AM


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