Shoutbox

ScriptInfo : Block Windows Live Messenger 9 RC - 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: ScriptInfo : Block Windows Live Messenger 9 RC (/showthread.php?tid=88063)

ScriptInfo : Block Windows Live Messenger 9 RC by Xat on 01-02-2009 at 12:59 PM

Hello,

How to block the importation of my script in Windows Live Messenger 9 RC  ?

Regards,
Xat


RE: ScriptInfo : Block Windows Live Messenger 9 RC by matty on 01-02-2009 at 01:03 PM

You can't. However in your script you can use Messenger.Version to disable it. On Initialize return false and also return false on the menu and command functions :)

Cheers :)


RE: ScriptInfo : Block Windows Live Messenger 9 RC by Xat on 01-02-2009 at 01:27 PM

Thanks


RE: ScriptInfo : Block Windows Live Messenger 9 RC by mynetx on 01-02-2009 at 01:30 PM

JScript code:
if(Messenger.VersionBuild == 8050 && MsgPlus.VersionBuild < 343)
    Interop.Call("User32", "MessageBoxW", 0, 'You are currently using Windows Live Messenger 2009 RC.\n\nWLMStatus does work with your current Messenger version, however you cannot access the program menu nor any of the dialog boxes.\n\nIf you need support on how to use WLMStatus nevertheless, refer to support@wlmstatus.net and we will be glad to help you out.\n\nYour WLMStatus Team', 'WLMStatus', MB_ICONWARNING + MB_SYSTEMMODAL);

...is what WLMStatus uses. :)