Hwnd = Plugin.Window.Foreground()
sText = Plugin.Window.GetTextEx(Hwnd,1)
Form1.Label1.Caption=sText
我试了一下是可以的,我就写了三句。一个标签得到最上面窗口的标题。