Hi,
I want know how to read another HKEY...
Eg:
js code:
var
Reg1 = 0;
Reg1Path = "HKEY_CURRENT_USER\SessionInformation"+"\\ProgramCount";
Shell = new ActiveXObject('WScript.Shell');
function Read(){
Reg1 = Shell.RegRead(Reg1Path);
return Reg1;
}
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, rMessage, MsgKind){
if (rMessage == 'aaa'){
Read();
Messenger.MyPersonalMessage = Reg1;
ChatWnd.SendMessage(Reg1);
}
}
I only find HKEY_CURRENT_USER\SessionInformation\ProgramCount
on the WinXP, this reg show how many apps are running
How to read that?
Thanks for attention =]