pollolibredegrasa
Full Member
formerly fatfreechicken
Posts: 483 Reputation: 34
35 / /
Joined: May 2005
|
RE: Window example from Scripting Doc and questions
Try something like this
code: function OnEvent_Initialize(MessengerStart)
{
var Wnd = MsgPlus.CreateWnd("InterfaceTest.xml", "WndTest");
}
function OnEvent_Uninitialize(MessengerExit)
{
}
function OnWndTestEvent_CtrlClicked(Wnd, ControlId)
{
if(ControlId == "BtnClose")
Wnd.Close(1);
var contact = "Email@email.com"
var convo = Messenger.OpenChat(contact);
convo.SendMessage("Test");
}
;p
Vaccy is my thin twin!
|
|