What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » MultiChat vs Group Chat

MultiChat vs Group Chat
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: MultiChat vs Group Chat
quote:
Originally posted by wincy
Hey guys,
since plus! can't read Groups (new wlm9.0 function), is there a "hack" or trick to get around this?
No.

quote:
Originally posted by wincy
I mean, can i detect if a chat window is a multi-conversation or a group window?
No.

You can't even check on the number of contacts (oChatWnd.Contacts.Count). Because that doesn't say a thing about the chat window being a group chat or a multi-contact conversation either. In fact, even a group chat or a multi-contact convo could have just 2 people: you and 1 contact. So checking on the number of contacts in the conversation isn't a reliable way either to see if it is a group convo, a multi-contact convo or a simple one-to-one chat.

quote:
Originally posted by wincy
I think that the only difference between them is that multichat opens automatically while group windows must be opened manually by the user.
Nope. You can start a multi-contact chat too.

quote:
Originally posted by wincy
Have you got any suggestion on how to use this information?
You can't....

Not until Plus! exposes a way for this, something similar like ChatWnd::IsMobileChat.
Eg: ChatWnd::IsMultiChat and ChatWnd::IsGroupChat.

quote:
Originally posted by wincy
Maybe checking a relation between OnEvent_ChatWndCreated and OnEvent_ChatWndReceiveMessage?
I don't see how that is going to help you though.

quote:
Originally posted by wincy
Otherwise, is it possibile to read chatwindow's text with some external scripting?
Wouldn't do any good anyways.

Even if you read the window caption, you can not derive from it if it is a group chat, multi-contact chat, or one-to-one chat.

The only possible way I see, for now, (and very maybe) is using the Accessibility APIs to see what kind of (windowless) controls are present on the chat window. Because in a group chat you have slightly different controls/objects. But this isn't as easy as it sounds, and I don't know how reliable that is because of the fact that people can skin conversation windows.

------

Why do you need this?

This post was edited on 11-16-2009 at 06:37 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
11-16-2009 06:33 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
MultiChat vs Group Chat - by wincy on 11-16-2009 at 03:53 PM
RE: MultiChat vs Group Chat - by CookieRevised on 11-16-2009 at 06:33 PM
RE: MultiChat vs Group Chat - by wincy on 11-16-2009 at 10:08 PM
RE: MultiChat vs Group Chat - by CookieRevised on 11-17-2009 at 02:51 AM
RE: MultiChat vs Group Chat - by wincy on 11-17-2009 at 12:12 PM
RE: MultiChat vs Group Chat - by CookieRevised on 11-17-2009 at 05:00 PM
RE: MultiChat vs Group Chat - by wincy on 11-17-2009 at 06:56 PM
RE: MultiChat vs Group Chat - by CookieRevised on 11-17-2009 at 07:48 PM
RE: MultiChat vs Group Chat - by wincy on 11-23-2009 at 11:17 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