用数组来保存多个句柄.HwndEx = Plugin.Window.SearchEx(0, "GM在线-笑傲九天-S1_天降神兵", 0)ck = split(HwndEx, "|")For i = 0 To UBound(ck) TracePrint "主窗口句柄:" & ck(i)Next