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?