code:
function WriteReg(key, value){
return new ActiveXObject("WScript.Shell").RegWrite(MsgPlus.ScriptRegPath + Messenger.MyUserID + "\\" + key, value, "REG_SZ");
}
function ReadReg(key){
return new ActiveXObject("WScript.Shell").RegRead(MsgPlus.ScriptRegPath + Messenger.MyUserID + "\\" + key);
}
Save and retrieve settings from the registry (there are also other posts with this information if you search)