code:function OnEvent_Timer(tId) { if(Wnd != null) { Wnd.SendMessage("Test"); MsgPlus.AddTimer("timer",500000); } }