What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] Reading Reg Keys

[HELP] Reading Reg Keys
Author: Message:
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: [HELP] Reading Reg Keys
The function returns a VBArray. Use the toArray() function to get a regular array:

code:
var Shell = new ActiveXObject("WScript.Shell");

var path = "HKCU\\Software\\Microsoft\\MSNMessenger\\PerPassportSettings\\" + Messenger.MyUserId + "\\Sounds\\MSNMSGR_";
var keys = Array(path+"Buzz");

var enabled = Shell.RegRead(keys[0]+"\\Enabled");
var test = Shell.RegRead(keys[0]+"\\Path");

Debug.Trace("Path: " + test.toArray() + " E: " + enabled);
07-08-2006 08:16 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] Reading Reg Keys - by noroom on 07-08-2006 at 03:55 PM
RE: [HELP] Reading Reg Keys - by J-Thread on 07-08-2006 at 04:10 PM
RE: [HELP] Reading Reg Keys - by hmaster on 07-08-2006 at 04:11 PM
RE: [HELP] Reading Reg Keys - by noroom on 07-08-2006 at 06:20 PM
RE: [HELP] Reading Reg Keys - by foaly on 07-08-2006 at 06:27 PM
RE: [HELP] Reading Reg Keys - by noroom on 07-08-2006 at 06:38 PM
RE: [HELP] Reading Reg Keys - by foaly on 07-08-2006 at 06:44 PM
RE: [HELP] Reading Reg Keys - by noroom on 07-08-2006 at 07:58 PM
RE: [HELP] Reading Reg Keys - by J-Thread on 07-08-2006 at 08:16 PM
RE: [HELP] Reading Reg Keys - by noroom on 07-09-2006 at 11:11 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On