What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Q] Settings

[Q] Settings
Author: Message:
Sander112
New Member
*


Posts: 8
Reputation: -1
Joined: Jul 2006
O.P. Wink  [Q] Settings
Hello,
Im finally updating ContactSay, and I want to add an Settings feature to enable and disable some things.
How can I do this?
I would like an small example.

Thanks
12-13-2006 04:50 PM
Profile E-Mail PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
RE: [Q] Settings
Use xml to design the window, then give each feature an id and then call the id into a script ( hard to explain lol)]
Read documentation
12-13-2006 04:51 PM
Profile E-Mail PM Find Quote Report
Sander112
New Member
*


Posts: 8
Reputation: -1
Joined: Jul 2006
O.P. RE: [Q] Settings
I know that, but I mean the saving and reading part.
12-13-2006 04:52 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [Q] Settings

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)
<Eljay> "Problems encountered: shit blew up" :zippy:
12-13-2006 04:54 PM
Profile PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Q] Settings
You could use the registry to save setting. See The Registry @ mpwiki.

This post was edited on 12-13-2006 at 04:56 PM by Felu.
12-13-2006 04:54 PM
Profile E-Mail PM Web Find Quote Report
Sander112
New Member
*


Posts: 8
Reputation: -1
Joined: Jul 2006
O.P. RE: [Q] Settings
Aha. Thanks, didnt know about the Wiki.
12-13-2006 04:56 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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