What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Participating in a window

Participating in a window
Author: Message:
magemello
New Member
*


Posts: 9
Joined: Jan 2008
O.P. Participating in a window
How do I know how many participants there are in a specific  chatwnd?
01-20-2008 08:23 PM
Profile E-Mail PM Find Quote Report
Yorick
Junior Member
**

Avatar

Posts: 22
33 / Male / Flag
Joined: Mar 2007
RE: Participating in a window
The ChatWnd::Contacts property returns the list of contacts currently participating in the chat, excluding the active Messenger user.

From there on you should be able to count the number of contacts in the returned list :)!

This post was edited on 01-20-2008 at 09:00 PM by Yorick.
01-20-2008 08:59 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Participating in a window
The contacts object already has a Count property.

Simply use it this way
code:
Debug.Trace(ChatWnd.Contacts.Count);
01-20-2008 10:50 PM
Profile E-Mail PM Find Quote Report
magemello
New Member
*


Posts: 9
Joined: Jan 2008
O.P. RE: Participating in a window
thank you
01-21-2008 02:07 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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