Shoutbox

Poligami for WLM 8.5 Beta - 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: Poligami for WLM 8.5 Beta (/showthread.php?tid=75770)

Poligami for WLM 8.5 Beta by AngelDevil on 06-30-2007 at 04:08 PM

I'm using Windows Live Messenger 8.5 beta. In the file Poligami.js of Poligami script:

function messengerSignIn() {
    Debug.trace( "MessengerSignIn" );
    var hklm = -2147483646;
    // if( path = GetStringValue( hklm, mKey, "InstallationDirectory" ) )
    // path = path.replace( /\\/g, "\\\\" );
   
                path = "C:\\Program Files\\Windows Live\\Messenger\\";
    var objShell = new ActiveXObject( "Shell.Application" );
    objShell.ShellExecute( path + "msnmsgr.exe", "", "", "open", 1 );
    Messenger.Autosignin();
}

The if that assigned the path at "path" var request the content of a registry key, SOFTWARE\\Microsoft\\MSNMessenger\\, but this not support Windows Live Messenger 8.5, so users need to add manually the path, like me. But which is the correct registry key?


RE: Poligami for WLM 8.5 Beta by CookieRevised on 06-30-2007 at 06:07 PM

The new location for the "InstallationDirectory" setting is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Messenger

But, do not change the global variable mkey in the script!.
That variable is used for more things than just to find the "InstallationDirectory" registry setting. And many things are still located in the old registry map (like the passport settings).

So if you wanna change it, you must only change the following line:
if (path = GetStringValue(hklm, mKey, "InstallationDirectory"))
to:
if (path = GetStringValue(hklm, "SOFTWARE\\Microsoft\\Windows Live\\Messenger", "InstallationDirectory"))


RE: Poligami for WLM 8.5 Beta by AngelDevil on 06-30-2007 at 06:16 PM

Ok thanks! :D