What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Question: AddContact & RemoveContact

Question: AddContact & RemoveContact
Author: Message:
rsabin
New Member
*


Posts: 2
Joined: Jul 2008
O.P. Question: AddContact & RemoveContact
Hello,

I am making a script that reads a file full of emails and Add or Remove contacts from my contact list.

I've tried this:
code:
//Add contact
oMsnAPI = new ActiveXObject("Messenger.UIAutomation.1");
oMsnAPI.AddContact(0,"test@test.com");

//Remove contact
oMsnAPI = new ActiveXObject("Messenger.UIAutomation.1");
oMsnAPI.RemoveContact(0,"test@test.com");


I think the problem is the object creation.
I've tried this also:
code:
oMsnAPI = new ActiveXObject("Messenger.UIAutomation");


Any help?
Thanks

This post was edited on 07-05-2008 at 07:08 PM by rsabin.
07-05-2008 07:00 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Question: AddContact & RemoveContact - by rsabin on 07-05-2008 at 07:00 PM
RE: Question: AddContact & RemoveContact - by matty on 07-07-2008 at 04:46 PM
RE: RE: Question: AddContact & RemoveContact - by rsabin on 07-07-2008 at 06:37 PM
RE: Question: AddContact & RemoveContact - by matty on 07-07-2008 at 07:38 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