What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [request] Option to turn on/off others Userpics.

[request] Option to turn on/off others Userpics.
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [request] Option to turn on/off others Userpics.
And in reply to Cookie's post, here's an example code how you can achieve this using a script. This code snippet basically checks if the contact you opened a chat with is in an array and then fakes a click on the button. This won't work with more than 1 contact, however it's very easy to do so.
code:
var arrayContactsShowDP = new Array("john@hotmail.com", "mike@hotmail.com");

function OnEvent_ChatWndCreated(ChatWnd) {
   var Contact = new Enumerator(ChatWnd.Contacts).item();
   for(var i=0; i<arrayContactsShowDP.length; i++) {
      if(Contact.Email == arrayContactsShowDP[i]) {
         Interop.Call("user32", "SendMessageW", ChatWnd.Handle, 0x0111 /* WM_COMMAND */, /* cmdid: extbtnyou */ 2248, 0);
         break;
      }
   }
}

This post was edited on 06-28-2007 at 08:16 AM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
06-28-2007 08:13 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[request] Option to turn on/off others Userpics. - by Tigerking on 06-17-2007 at 10:50 AM
RE: [request] Option to turn on/off others Userpics. - by scott2010_h on 06-18-2007 at 10:29 PM
RE: [request] Option to turn on/off others Userpics. - by kryp2nyt on 06-25-2007 at 05:06 PM
RE: [request] Option to turn on/off others Userpics. - by CookieRevised on 06-27-2007 at 11:57 PM
RE: [request] Option to turn on/off others Userpics. - by Matti on 06-28-2007 at 08:13 AM


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