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

Saving Settings
Author: Message:
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
38 / Male / Flag
Joined: Mar 2007
O.P. RE: RE: Saving Settings
quote:
Originally posted by SmokingCookie
Hmm.. Perhaps you can post some beta version of your script, or an example of your code?

and remove it after 30 minutes

Lol.  Well, here's the code.  I severely doubt the script will be used by many, and none of this it major enough to steal since it could all be figured out really easily.

code:
function OnEvent_Initialize(MessengerStart)
{
    if ((MessengerStart == false) && (Messenger.MyStatus > 1))
    { LoadSettings(); }
}

function LoadSettings()
{
    try
    {
    X360Gamer = Shell.RegRead(MsgPlus.ScriptRegPath + "\\" + Messenger.MyUserId + "\\X360Gamer");
    X360GamerTag = Shell.RegRead(MsgPlus.ScriptRegPath + "\\" + Messenger.MyUserId + "\\X360GamerTag");
    X360PSM = Shell.RegRead(MsgPlus.ScriptRegPath + "\\" + Messenger.MyUserId + "\\X360PSM");
    }
    catch(exception)
    {
        ShowSettings();
    }
}

function ShowSettings()
{
    X360Settings = MsgPlus.CreateWnd("Interface.xml", "Settings");
    X360Settings.SetControlText("EdtGamerAccount", X360Gamer);
    X360Settings.SetControlText("EdtGamerTag", X360GamerTag);
    if(X360PSM == "Gamenames") { X360Settings.Button_SetCheckState("RadGamenames", true) }
    else if(X360PSM == "Gimmicks") { X360Settings.Button_SetCheckState("RadGimmicks", true) }   
}


- I stand corrected.  I've just saved again after copying that data (no change detected) and the catch went.  Ignored, save again, it got the data.  Just wierd.

This post was edited on 11-01-2008 at 06:02 PM by ArkaneArkade.
[Image: adsig.jpg]
11-01-2008 05:55 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Saving Settings - by ArkaneArkade on 11-01-2008 at 02:38 AM
RE: Saving Settings - by markee on 11-01-2008 at 04:00 AM
RE: Saving Settings - by ArkaneArkade on 11-01-2008 at 04:29 AM
RE: Saving Settings - by markee on 11-01-2008 at 04:58 AM
RE: Saving Settings - by SmokingCookie on 11-01-2008 at 02:27 PM
RE: Saving Settings - by ArkaneArkade on 11-01-2008 at 05:33 PM
RE: Saving Settings - by SmokingCookie on 11-01-2008 at 05:38 PM
RE: Saving Settings - by ArkaneArkade on 11-01-2008 at 05:43 PM
RE: Saving Settings - by SmokingCookie on 11-01-2008 at 05:49 PM
RE: RE: Saving Settings - by ArkaneArkade on 11-01-2008 at 05:55 PM
RE: Saving Settings - by SmokingCookie on 11-01-2008 at 06:01 PM
RE: RE: Saving Settings - by ArkaneArkade on 11-01-2008 at 06:31 PM
RE: Saving Settings - by ArkaneArkade on 11-01-2008 at 06:10 PM
RE: Saving Settings - by SmokingCookie on 11-01-2008 at 06:17 PM
RE: Saving Settings - by SmokingCookie on 11-01-2008 at 06:36 PM
RE: RE: Saving Settings - by ArkaneArkade on 11-01-2008 at 06:45 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