What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Getting all my contacts

Getting all my contacts
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Getting all my contacts
You don't need to use the join method on the array as tracing it will output a comma separated list of values...

js code:
var contacts = new Array();
for (var enum = new Enumerator(Messenger.MyContacts); !enum.atEnd(); enum.moveNext()){
    contacts.push(enum.item().Email);
}
Debug.Trace(contacts);

EDIT: Riko15, this is not a chat room or an instant messaging service. As such people may take a while to reply. Please have a little more patience.

This post was edited on 05-09-2010 at 07:13 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
05-09-2010 07:13 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Getting all my contacts - by Riko15 on 05-09-2010 at 12:40 PM
RE: Getting all my contacts - by Riko15 on 05-09-2010 at 06:45 PM
RE: Getting all my contacts - by whiz on 05-09-2010 at 06:48 PM
RE: Getting all my contacts - by Spunky on 05-09-2010 at 07:13 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