Shoutbox

if i dissable some scripts they re enable themselves - 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: WLM Plus! Bug Reports (/forumdisplay.php?fid=7)
+----- Thread: if i dissable some scripts they re enable themselves (/showthread.php?tid=91894)

if i dissable some scripts they re enable themselves by danielth on 08-16-2009 at 09:26 PM

i dont want to untinstall but deactivate the script wlm safe 5. something...

everytime i open msn it re enables itself... can you guys stop this?


RE: if i dissable some scripts they re enable themselves by mynetx on 08-16-2009 at 09:42 PM

  1. Close Messenger.
  2. Click Start.
  3. On Windows XP, click Run.
  4. Type "regedit", and press Enter.
  5. On Windows Vista, confirm.
  6. Navigate to HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\GlobalSettings\Scripts\WLM Safe.
  7. Double-click the item "Enabled" on the right side.
  8. Change its value from "1" to "0", and click OK.
  9. Close Windows Registry Editor.
  10. Sign in to Messenger.

RE: if i dissable some scripts they re enable themselves by felipEx on 08-16-2009 at 10:13 PM

quote:
Originally posted by danielth
everytime i open msn it re enables itself... can you guys stop this?
In order to stop that, you would have to edit the wlmsafe.js file which is located in the WLMSafe directory (C:\Program Files\Messenger Plus! Live\Scripts\WLM Safe), just look for the OnEvent_Uninitialize function and replace it for the following lines :D

JScript code:
function OnEvent_Uninitialize(MessengerExit) {
    if(MessengerExit==0) {
    >>>//Shell.RegWrite(RegPath.substring(0, RegPath.length - 9) + "Enabled", 1, "REG_DWORD");<<<
        >>>//MsgPlus.LockMessenger(1);<<<
        >>>//Shell.Popup(Mess[5], 7, TitleWin, 0);<<<
        >>>//ExitMessenger();<<<
    }
    if(RegR(RegPath2, "Installed")=="0"){ fso.DeleteFolder(MsgPlus.ScriptFilesPath, true); }
}


@mynetx: WLM Safe re enables itself in the OnEvent_Uninitialize function :P