What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » Contacts on Desktop

Contacts on Desktop
Author: Message:
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. Contacts on Desktop
Hey guys, is it possible to make an easier way of making the 'Contacts on Desktop' automatically not "Always on Top", because i HATE having to go through all of the ones i put on and un-ticking always on top.
03-06-2007 01:05 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Contacts on Desktop
Please always state your version of Messenger Plus! you're using...

;)
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-06-2007 01:26 PM
Profile PM Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: Contacts on Desktop
oh sorry Messenger Plus Live! 4.20.summin or other.
03-06-2007 01:38 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Contacts on Desktop
in Messenger Plus! 3

1) Right Click on a floating desktop contact
2) Select "Change display settings"
3) Untick "Always on Top"
4) Right Click on the same floating desktop contact
5) Select "Change display settings"
6) Select "Set as Default..."

in Messenger Plus! Live

Not possible by selecting some options.
This might be a good suggestion for Patchou to include again.

It is possible by manipulating the registry directly though:
Enumerate all keys under HKCU\Software\Patchou\Messenger Plus! Live\<msn _id>\Contacts. For each found subkey set the DWORD value of FloatTopMost to 0.


This post was edited on 03-06-2007 at 01:50 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-06-2007 01:48 PM
Profile PM Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: Contacts on Desktop
Can you help me out and direct me where to go to do this? :)
03-06-2007 01:49 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Contacts on Desktop
This code will set all registry values for every existing contact, so they are on top (set bFloatOnTop to true) or not on top (set bFloatOnTop to false).

Note that this code needs to be executed each time you add new contacts to Messenger (if you're going to add them as a desktop contact), since Plus! always sets them on top by default.

This code also doesn't change the current window settings of the contact already on top.

In other words, run this code from a script and restart Messenger to get the full effect.

code:
var nKeyLocation = -2147483647 /* HKEY_CURRENT_USER */;
var sRegPath = "Software\\Patchou\\Messenger Plus! Live\\" + Messenger.MyEmail + "\\Contacts";
var bFloatOnTop = true;

// Uses WMI to enumerate registry subkeys and set a DWORD value
var oREG = new ActiveXObject("WbemScripting.SWbemLocator").ConnectServer(".", "root\\default").Get("StdRegProv");
var oMethod = oREG.Methods_.Item("EnumKey");
var oInParam = oMethod.InParameters.SpawnInstance_();
oInParam.hDefKey = nKeyLocation;
oInParam.sSubKeyName = sRegPath;
var aNames = oREG.ExecMethod_(oMethod.Name, oInParam).sNames.toArray();
for (i in aNames) {
    oREG.SetDWORDValue(nKeyLocation, sRegPath + "\\" + aNames[i], "FloatTopMost", bFloatOnTop ? 1 : 0);
}

This post was edited on 03-06-2007 at 04:21 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-06-2007 04:21 PM
Profile PM Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
O.P. RE: Contacts on Desktop
Thanks i will test it out when i get home :)

EDIT: Thanks cookie that worked :)

This post was edited on 03-07-2007 at 04:39 AM by Eddie.
03-07-2007 01:21 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