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

Add contact
Author: Message:
leetking
New Member
*


Posts: 10
– / Female / Flag
Joined: Dec 2008
O.P. Add contact
Hello!
Is it possible to add a new contact (example@hotmail.com) with a script?
12-14-2008 07:49 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Add contact
Yes and no.

The contact list window would have to be open and you could launch the Add a Contact dialog but that is about it.
12-14-2008 08:37 PM
Profile E-Mail PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
RE: Add contact
Can be done with the messenger api, just sadly not with the api that plus imports

VB2008 Implementation:
code:
Public WithEvents msn As MessengerAPI.IMessenger
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        msn = New MessengerAPI.Messenger
        Dim msnwnd As MessengerAPI.IMessengerWindow
        msnwnd = msn.Window
        msn.AddContact(msnwnd.HWND, "test@hotmail.com")
    End Sub


12-14-2008 09:21 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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