Dim Hwnd
Hwnd = Plugin.Window.MousePoint()
//读取鼠标所指向的窗口为脚本运行窗口.
Rem star
//向后台窗口句柄(变量:Hwnd)每一秒发送一个文本消息(内容:"内容")到客户区
Call Plugin.Bkgnd.SendString(Hwnd, "内容")
Delay 1000
Goto star
//这是后台喊话,前台一比较简单
//下面是当前窗口喊话
rem
SayString "这里输入要说话的内容"
Delay 1000
KeyPress "Enter", 1
Delay 100