What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » Programmatically changing display name

Programmatically changing display name
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
O.P. Programmatically changing display name
First of all, I'm going to list all the suggestions I've considered and  don't wish to use:
- SendKeys()
- SetNewName()
- /nick or /nick2 in a convo window
- ecko_complex's Win32 code
- Anything that uses the Options dialog
- Proxy servers/Anything protocol (TheGeek is excused for suggesting a proxy before this edit ;))
Anyone who suggests them will receive a reply that will reflect my distaste at being ignored. You have been warned.

Right, now that's out of the way, I'll ask my question:
How can I programmatically change the current user's display name?
I currently do this in Phoenix 2 with /nick2, but for Phoenix³ I want the user to be able to restore a display name without opening a conversation.

I've tried getting an IMsgrObject, but of course that's Windows Messenger, and doesn't work in MSN Messenger. So any other suggestions will be good.

This post was edited on 04-11-2006 at 12:37 AM by RaceProUK.
[Image: spartaafk.png]
04-10-2006 08:56 PM
Profile PM Web Find Quote Report
TheGeek
Full Member
***

Avatar
Excuse my geekyness.

Posts: 179
Reputation: 15
34 / Male / –
Joined: Feb 2005
RE: Programmatically changing display name
I don't know much about programmatically interacting with MSN Messenger, but you could always make a proxy server, and reroute the protocol data through your plugin. Then you can change whatever you want to the commands.
[Image: 468x60banner.png]
04-10-2006 09:45 PM
Profile E-Mail PM Web Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: Programmatically changing display name
Not possible afaik.

no way to do it.

yeah you could proxy it. but how are you going to tell messenger that you've used the next packet id...
04-10-2006 10:06 PM
Profile PM Web Find Quote Report
TheGeek
Full Member
***

Avatar
Excuse my geekyness.

Posts: 179
Reputation: 15
34 / Male / –
Joined: Feb 2005
RE: RE: Programmatically changing display name
quote:
Originally posted by Stigmata
Not possible afaik.

no way to do it.

yeah you could proxy it. but how are you going to tell messenger that you've used the next packet id...

Start from (2^32)-1 and work your way down.
[Image: 468x60banner.png]
04-10-2006 10:30 PM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
O.P. RE: Programmatically changing display name
quote:
Originally posted by TheGeek
you could always make a proxy server
I suppose I should have added that to the list as well :/
I'd rather not have to go to the trouble of protocol fiddling: there's got to be a way to do it wothout the protocol.
[Image: spartaafk.png]
04-11-2006 12:36 AM
Profile PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Programmatically changing display name
A Messenger Plus! Live script? :)
[Image: signature2.gif]
04-11-2006 12:41 AM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Programmatically changing display name
Just to make it clear (I dont want a "distaste at being ignored" ;))

The reason why you don't want to use SetNewName() is because you want Phoenix³ to be Plus! independant (aka also possible to use without Plus!)? Otherwise, I see no problems in using it...
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-11-2006 12:55 AM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
O.P. RE: Programmatically changing display name
quote:
Originally posted by Patchou
A Messenger Plus! Live script? :)
Not quite: a Plus! 3 plugin. I will get some scripts out for MP!L sometime though ;)
quote:
Originally posted by CookieRevised
The reason why you don't want to use SetNewName() is because you want Phoenix³ to be Plus! independant
Not really: it's so the restored name doesn't get the 'reset format' code appended. Meh, if I don't find anything soon, I'll just use SetNewName().

And you'll only be ignored if you mention something in the list. Clarifications will be answered, as evidenced by this post ;)

Edit: I used SetNewName() ao I could at least test the code - it doesn't add the format reset code :S So I guess I can use SetNewName() after all :D

This post was edited on 04-12-2006 at 06:41 PM by RaceProUK.
[Image: spartaafk.png]
04-11-2006 01:01 AM
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