What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » what is wrong?

what is wrong?
Author: Message:
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: what is wrong?
code:
    var Windows = Messenger.CurrentChats;

The Messenger.CurrentChats is a list of chat windows already open.

code:
    var e = new Enumerator(Windows);

Here we enumerate the list so we can sort the chat windows individually.

code:
    for(; !e.atEnd(); e.moveNext())
    {

This is a start of a "for loop". Using the enumeration we did in the line before we go through each chat window object.

Here is some more information on loops in javascript:
http://www.w3schools.com/js/js_loop_for.asp

code:
    var ChatWindow = e.item();

Here we define the current enumerated chat window as ChatWindow so it is easier to handle :)

This post was edited on 09-01-2007 at 11:22 PM by Stigmata.
09-01-2007 11:21 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
what is wrong? - by 89rafa on 09-01-2007 at 11:03 PM
RE: what is wrong? - by foaly on 09-01-2007 at 11:05 PM
RE: what is wrong? - by 89rafa on 09-01-2007 at 11:08 PM
RE: what is wrong? - by Stigmata on 09-01-2007 at 11:10 PM
RE: what is wrong? - by 89rafa on 09-01-2007 at 11:14 PM
RE: what is wrong? - by Stigmata on 09-01-2007 at 11:21 PM
RE: what is wrong? - by 89rafa on 09-01-2007 at 11:28 PM
RE: what is wrong? - by Stigmata on 09-01-2007 at 11:35 PM
RE: what is wrong? - by 89rafa on 09-01-2007 at 11:36 PM
RE: what is wrong? - by Stigmata on 09-01-2007 at 11:37 PM
RE: what is wrong? - by 89rafa on 09-01-2007 at 11:42 PM
RE: what is wrong? - by Stigmata on 09-01-2007 at 11:55 PM
RE: what is wrong? - by 89rafa on 09-02-2007 at 04:40 PM
RE: what is wrong? - by matty on 09-02-2007 at 04:47 PM
RE: RE: what is wrong? - by 89rafa on 09-02-2007 at 04:50 PM
RE: what is wrong? - by effection on 09-02-2007 at 05:10 PM
RE: what is wrong? - by ShawnZ on 09-02-2007 at 05:13 PM
RE: what is wrong? - by 89rafa on 09-02-2007 at 05:17 PM
RE: what is wrong? - by matty on 09-02-2007 at 05:23 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