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