Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Live Messenger > Developing Messenger Add-ins: getting a user-assigned friendly nam

Reply
Thread Tools Display Modes

Developing Messenger Add-ins: getting a user-assigned friendly nam

 
 
James Johnston
Guest
Posts: n/a

 
      08-29-2007
I'm working on developing an add-in for Windows Live Messenger. It is a
simple text-to-speech add-in that says something when a user's status
changes. For example, if a user logs in, it would say "So-and-so is online."
This I already have functional. The problem is that a user can have two
friendly names:

1. The name that the buddy gives him or herself. This is the nickname that
has been in the Messenger system for years and years, and is returned by the
User.FriendlyName property. Unfortunately, some users give themselves
cryptic names that do not lend themselves easily to identification, and are
not easily read in a text-to-speech engine. For example, ".:: Baruck ::.",
"Aluink", "*9milKevin", etc. It really sounds bad when running it through a
TTS engine.

2. Recently the Live Messenger team added a feature where you can give your
buddy whatever nickname you like. A user can then rename those cryptic names
of their buddies into something more intelligible, readable, and rememberable
(e.g. the user's actual full name). Unfortunately I can't figure out how to
access that new nickname from the add-in API. It just gives me the
buddy-chosen nickname from #1 above.

Bottom line question: How do I access the user-chosen nickname that is
created when you right-click a contact and choose "Edit Nickname"?

Sample snippet of code that doesn't work the way I want it to:

public void OnStatusChanged(object sender, StatusChangedEventArgs e) {
_speech.Speak(e.User.FriendlyName + " status has changed.",
SpeechVoiceSpeakFlags.SVSFDefault);
}

Best regards,

James Johnston
 
Reply With Quote
 
 
 
 
Jonathan Kay [MVP]
Guest
Posts: n/a

 
      08-30-2007
Greetings James,

Although I could do some work and research for you on these, your best bet is to reask this
question in the Messenger Developer group:
http://forums.microsoft.com/MSDN/Sho...D=112&SiteID=1

Or on third-party sites like Live Fanatic which have a cult developer following:
http://forums.fanatic.net.nz

--
Jonathan Kay
Microsoft MVP - Windows Live Messenger/MSN Messenger/Windows Messenger
Associate Expert
http://www.microsoft.com/windowsxp/expertzone/
Messenger Resources - http://messenger.jonathankay.com
All posts unless otherwise specified are (c) 2007 Jonathan Kay.
You *must* contact me for redistribution rights.
--

"James Johnston" <> wrote in message
news:91CB7033-5F80-418F-8E79-...
> I'm working on developing an add-in for Windows Live Messenger. It is a
> simple text-to-speech add-in that says something when a user's status
> changes. For example, if a user logs in, it would say "So-and-so is online."
> This I already have functional. The problem is that a user can have two
> friendly names:
>
> 1. The name that the buddy gives him or herself. This is the nickname that
> has been in the Messenger system for years and years, and is returned by the
> User.FriendlyName property. Unfortunately, some users give themselves
> cryptic names that do not lend themselves easily to identification, and are
> not easily read in a text-to-speech engine. For example, ".:: Baruck ::.",
> "Aluink", "*9milKevin", etc. It really sounds bad when running it through a
> TTS engine.
>
> 2. Recently the Live Messenger team added a feature where you can give your
> buddy whatever nickname you like. A user can then rename those cryptic names
> of their buddies into something more intelligible, readable, and rememberable
> (e.g. the user's actual full name). Unfortunately I can't figure out how to
> access that new nickname from the add-in API. It just gives me the
> buddy-chosen nickname from #1 above.
>
> Bottom line question: How do I access the user-chosen nickname that is
> created when you right-click a contact and choose "Edit Nickname"?
>
> Sample snippet of code that doesn't work the way I want it to:
>
> public void OnStatusChanged(object sender, StatusChangedEventArgs e) {
> _speech.Speak(e.User.FriendlyName + " status has changed.",
> SpeechVoiceSpeakFlags.SVSFDefault);
> }
>
> Best regards,
>
> James Johnston



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
first user SID assigned in Vista tmike Windows Vista Installation 3 01-01-2008 10:19 PM
user friendly ? 5th pledge Windows Vista Administration 0 08-08-2007 07:34 AM
IE7 New Tab Opening NOT User-Friendly BiggsHomes Windows Vista General Discussion 2 12-09-2006 06:34 PM
Make IE7 more user friendly MrDale Internet Explorer 0 02-01-2006 04:26 AM
Microsoft SUS Not User Friendly Justin Emlay Windows Update 1 09-28-2003 03:13 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59