What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » how can i get information from registry values to use in a script?

how can i get information from registry values to use in a script?
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: RE: another request
quote:
Originally posted by Mattike
It's not recommend to use full paths since they can differ on other systems. However, this is how you should do it that way:
code:
var WSH = new ActiveXObject('WScript.Shell');
wmpAppName = WSH.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Keyboard\Native Media Players\WMP\AppName");

Each of the \ shuld be \\ in JScript when looking through folders.  Also for something like this it is very difficult to make a variable path (see my post).  Actually I don't think this registry path can be any different anyway or else you would run into troubles elsewhere (I could be horribly wrong though).

This post was edited on 08-24-2006 at 04:05 PM by markee.
[Image: markee.png]
08-24-2006 04:04 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
how can i get information from registry values to use in a script? - by skyserpent on 08-24-2006 at 03:09 PM
RE: another request - by markee on 08-24-2006 at 03:19 PM
RE: another request - by skyserpent on 08-24-2006 at 03:20 PM
RE: another request - by markee on 08-24-2006 at 03:36 PM
RE: another request - by skyserpent on 08-24-2006 at 03:49 PM
RE: another request - by markee on 08-24-2006 at 03:54 PM
RE: another request - by Matti on 08-24-2006 at 03:55 PM
RE: RE: another request - by markee on 08-24-2006 at 04:04 PM
RE: another request - by skyserpent on 08-24-2006 at 03:57 PM
RE: another request - by skyserpent on 08-24-2006 at 04:12 PM
RE: another request - by markee on 08-24-2006 at 04:22 PM


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