What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Open And Write XML Files

Open And Write XML Files
Author: Message:
happy.evan
New Member
*


Posts: 2
Joined: Mar 2009
O.P. Huh?  Open And Write XML Files
Hi, i'm new in Messenger Plus scripting and im trying to do a script and for that i have to open, show and write a xml file.

I have a config. files window and i wanna to put a form there to insert into a xml file one phrase who is write into the form window.

And i wanna to open the xml and put in this form all phrases is in there.

In the xml "items" file i have this:

code:
    <Control xsi:type="ComboBoxControl" Id="cmbItems">
        <Position Top="60" Width="160" Left="5"/>
<Items>
                <Item Id="0">Frase 1</Item>
                <Item Id="1">Frase 1</Item>
                <Item Id="2">Frase 1</Item>
                <Item Id="3">Frase 1</Item>
                <Item Id="4">Frase 1</Item>
</Items>
    </Control>

Everything i done is the buttons script:
code:
//action for buttons
function OnWndConfigEvent_CtrlClicked(Wnd, ControlId)
{
    //close window
    if(ControlId == "BtnClose"){
        Wnd.Close(1);
        }
    //save
    else if(ControlId == "BtnSave"){
        Wnd.Close(2);
        }
    //add new phrase
    else if(ControlId == "BtnNovaFrase"){
        Wnd.Close(2);
    }
}
03-26-2009 08:53 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