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?