What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Registry Class

Registry Class
Author: Message:
LifelesS
Full Member
***


Posts: 115
Reputation: 4
32 / Male / Flag
Joined: Dec 2006
O.P. Grin  Registry Class
Well, I can just say this came out of the dance of my fingers:P

Ok, I'll say a little more...

It's a class I built so that you easily create, read and delete registry keys.

-------------------------------------------------------------------------------------------
How to use:
        First you need to globally declare: 'var Regs = new Regs(SaveLocation)' -> where SaveLocation is a boolean, if it's 0,
            it will save to MsgPlus.ScriptRegPath + Messenger.UserId, if it's 1 it will save to MsgPlus.ScriptRegPath + Messenger.MyEmail.
       
Then you can use Regs.methods():

            Regs.Del(key)                                 - deletes the 'key' registry;

            Regs.Read(key)                                - reads the 'key' registry;

            Regs.WriteStr(key, value, overwrite)        - writes a string with 'key' name, 'value' value, overwrite is a bool, if omitted, overwrites;

            Regs.WriteBool(key, value, overwrite)        - writes a bool with 'key' name, 'value' - 0/1, overwrite is a bool, if omitted, overwrites;
           
-------------------------------------------------------------------------------------------

The file is on the attachment

.txt File Attachment: _RegsClass.txt (5.68 KB)
This file has been downloaded 157 time(s).
Best Regards,
Joćo Godinho
08-03-2007 07:01 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Registry Class - by LifelesS on 08-03-2007 at 07:01 PM
RE: Registry Class - by Ezra on 08-03-2007 at 07:17 PM
RE: Registry Class - by LifelesS on 08-03-2007 at 07:19 PM
RE: Registry Class - by Ezra on 08-03-2007 at 07:21 PM
RE: Registry Class - by LifelesS on 08-03-2007 at 07:23 PM
RE: Registry Class - by Ezra on 08-03-2007 at 07:28 PM
RE: RE: Registry Class - by LifelesS on 08-03-2007 at 07:34 PM
RE: Registry Class - by matty on 08-03-2007 at 08:16 PM
RE: RE: Registry Class - by LifelesS on 08-03-2007 at 08:19 PM
RE: Registry Class - by matty on 08-03-2007 at 08:23 PM
RE: Registry Class - by LifelesS on 08-03-2007 at 08:53 PM
RE: Registry Class - by Ezra on 08-03-2007 at 10:41 PM
RE: RE: Registry Class - by LifelesS on 08-03-2007 at 10:47 PM
RE: Registry Class - by matty on 08-04-2007 at 12:19 AM
RE: RE: Registry Class - by LifelesS on 08-04-2007 at 12:36 AM
RE: Registry Class - by matty on 08-04-2007 at 12:42 AM
RE: Registry Class - by Matti on 08-04-2007 at 11:27 AM
RE: Registry Class - by matty on 08-04-2007 at 12:02 PM
RE: Registry Class - by -dt- on 08-04-2007 at 12:16 PM
RE: Registry Class - by ShawnZ on 08-04-2007 at 12:18 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