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

Chat window open
Author: Message:
mlevit
Junior Member
**


Posts: 50
Reputation: 2
37 / Male / –
Joined: Sep 2005
O.P. RE: Chat window open
Ok... what ive tried doing is this, i would run the for loop which should block every contact.

Then i would run

code:
function openedChats()
{
    var Windows = Messenger.CurrentChats;
    var e = new Enumerator(Windows);
    for(; !e.atEnd(); e.moveNext())
    {
        var ChatWindow = e.item();
        ChatWindow.Blocked = false;
    }
}

Which should unblock the current contacts i have open.

I get this an error:

code:
Error: Object doesn't support this property or method.
       Line: 110. Code: -2146827850.

Line 110: ChatWindow.Blocked = false;

I get this because i iterate through chat windows, not the actual contacts themselves. Is there a way of getting the contact from the chat window and then unblocking them?

This post was edited on 07-29-2006 at 08:36 AM by mlevit.
07-29-2006 08:26 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Chat window open - by mlevit on 07-29-2006 at 05:14 AM
RE: Chat window open - by matty on 07-29-2006 at 06:03 AM
RE: Chat window open - by mlevit on 07-29-2006 at 08:26 AM
RE: Chat window open - by markee on 07-29-2006 at 08:36 AM
RE: Chat window open - by mlevit on 07-29-2006 at 08:41 AM
RE: Chat window open - by mlevit on 07-29-2006 at 11:08 AM
RE: Chat window open - by NanaFreak on 07-29-2006 at 01:01 PM
RE: Chat window open - by mlevit on 07-29-2006 at 01:05 PM
RE: Chat window open - by leachy08 on 08-02-2006 at 12:29 PM
RE: Chat window open - by leachy08 on 08-04-2006 at 08:54 PM
RE: Chat window open - by mlevit on 08-04-2006 at 10:48 PM
RE: Chat window open - by Geo on 08-05-2006 at 02:48 PM
RE: Chat window open - by leachy08 on 08-08-2006 at 08:58 PM
RE: Chat window open - by NanaFreak on 08-08-2006 at 09:04 PM
RE: Chat window open - by leachy08 on 08-08-2006 at 09:10 PM
RE: Chat window open - by mlevit on 08-08-2006 at 09:15 PM
RE: Chat window open - by leachy08 on 08-09-2006 at 07:49 AM
RE: Chat window open - by mlevit on 08-09-2006 at 09:40 AM
RE: Chat window open - by leachy08 on 08-09-2006 at 12:39 PM
RE: Chat window open - by Geo on 08-09-2006 at 07:56 PM
RE: Chat window open - by leachy08 on 08-10-2006 at 08:00 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