Hi.
I'm from Denmark and my english isn't good, but i'll try and hope that you undertand
I try to make a script which can auto-answer message, with a message the user have choosed, but i can't find out how to save the users settings in a XML-document as i later can get the settings again and use them.
I save the users settings in a variable here and now I will put the settings into a XML-document:
code:
function OnWndMainEvent_CtrlClicked(Wnd, Handling)
{
switch(Handling)
{
case "knap_tilfoej":
var Navn = Wnd.GetControlText("input_navn");
var Modtaget = Wnd.GetControlText("input_modtaget");
var Svar = Wnd.GetControlText("input_svar");
break;
case "knap_luk":
Wnd.Close(1);
break;
}
}
Thanks in advance
Simon