What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » How to start off a plugin and how to make it simply change your name

How to start off a plugin and how to make it simply change your name
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: RE: How to start off a plugin and how to make it simply change your name
quote:
Originally posted by j.g.allen
What wd be an example to put in for version and omessenger?

'This is just an example for calling the oMessenger object passed through the Initialize Function into a Variable.
'Make sure to set a reference to the MessengerAPI Type Library


Public WithEvents MessengerAPI As MessengerAPI.Messenger

Public Function Initialize(ByVal nVersion As Long, ByVal sUserEmail As String, ByVal oMessenger As Object) As Boolean
    Initialize = True
    Set MessengerAPI = oMessenger
End Function

'Setting a new nickname through the oMessenger Object passed through the Initalize Function is impossible as the MyFriendlyName Property is Read-Only (Cannot be changed). This is why I had Patchou add the SetNewName function into the API.

'The code that Stigmata posted is using Windows API calls but the Contact List Window has to be opened for it to work.

This post was edited on 04-15-2005 at 05:18 PM by matty.
04-15-2005 05:17 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How to start off a plugin and how to make it simply change your name - by jasonallen on 04-15-2005 at 04:36 PM
RE: How to start off a plugin and how to make it simply change your name - by TheGeek on 04-15-2005 at 04:39 PM
RE: How to start off a plugin and how to make it simply change your name - by jasonallen on 04-15-2005 at 04:40 PM
RE: How to start off a plugin and how to make it simply change your name - by TheGeek on 04-15-2005 at 04:42 PM
RE: How to start off a plugin and how to make it simply change your name - by Stigmata on 04-15-2005 at 04:42 PM
RE: How to start off a plugin and how to make it simply change your name - by matty on 04-15-2005 at 05:07 PM
RE: How to start off a plugin and how to make it simply change your name - by jasonallen on 04-15-2005 at 05:12 PM
RE: RE: How to start off a plugin and how to make it simply change your name - by matty on 04-15-2005 at 05:17 PM
RE: How to start off a plugin and how to make it simply change your name - by jasonallen on 04-15-2005 at 05:27 PM
RE: How to start off a plugin and how to make it simply change your name - by matty on 04-15-2005 at 05:29 PM
RE: How to start off a plugin and how to make it simply change your name - by jasonallen on 04-15-2005 at 05:46 PM
RE: How to start off a plugin and how to make it simply change your name - by matty on 04-15-2005 at 05:55 PM
RE: How to start off a plugin and how to make it simply change your name - by jasonallen on 04-15-2005 at 05:58 PM
RE: How to start off a plugin and how to make it simply change your name - by matty on 04-15-2005 at 06:04 PM
RE: How to start off a plugin and how to make it simply change your name - by jasonallen on 04-15-2005 at 06:21 PM
RE: How to start off a plugin and how to make it simply change your name - by matty on 04-15-2005 at 06:52 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