Shoutbox

Change friend's picture and window title - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Change friend's picture and window title (/showthread.php?tid=99233)

Change friend's picture and window title by Dexx on 04-23-2012 at 03:37 PM

Hello,
I searched in the scripts but I cannot find anything.
Is there a script to change a friend's display picture with one selected by me?
An is possible to change the name and email on the top of the chat window?

Thanks


RE: Change friend's picture and window title by matty on 04-23-2012 at 04:52 PM

quote:
Originally posted by Dexx
Is there a script to change a friend's display picture with one selected by me?
This isn't possible to do.
This may be possible but no guarantees. What you would need to do would be to use the Contact.DisplayPicture to return the path to the display picture. Then you would need to replace it with your own picture. Once you have done that you would need to lock the file so that it cannot be changed by Windows Live Messenger. Now my assumption is that if they cannot write to the file they will write a new file and use that one. This would be local to your computer only.
quote:
Originally posted by Dexx
An is possible to change the name and email on the top of the chat window?
You can do this but it would be local to your computer and no one else would see it.

You would need to use the API function SetWindowText.
This function takes 2 parameters:
  • The Chat Window handle)
  • The new text for the window