KnRd_WC
Junior Member
Florian PAQUET
Posts: 74 Reputation: 1
35 / /
Joined: Aug 2006
|
RE: Alert(MsgBox in VB) Help?
Somewhere.... hummm....
code: // On a variable
Variable = "off"
code: // On registry
shell=new ActiveXObject("WScript.Shell");
// Store the value
shell.RegWrite(MsgPlus.ScriptRegPath+Messenger.MyUserId+'\\Off',"1");
// Key : HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\GlobalSettings\Scripts\<Script Name>\Settings\<UserID>\
// Name : Off
// Get the value
try {value=shell.RegRead(MsgPlus.ScriptRegPath+Messenger.MyUserId+'\\Off');}
catch(err) {value="0";} // If the key does not exist, value="0"
MsgPlus.DisplayToast("",value); // Verification
This post was edited on 08-21-2006 at 08:37 PM by KnRd_WC.
|
|