按键精灵如何关闭弹出窗口

用按键精灵如何关闭这样的弹出窗口
2024-12-14 00:14:24
推荐回答(2个)
回答1:

HwndEx = Plugin.Window.Search("来自网页的消息")
MyArray = Split(HwndEx, "|")
a=CLng(MyArray(0)) //MyArray(0)是字符串要转换成整数才能用 Call Plugin.Window.Close(a)

回答2:

HwndEx = Plugin.Window.Search("来自网页的消息")
MyArray = Split(HwndEx, "|")
For i = 0 to UBound(MyArray)
Call Plugin.Window.Close(MyArray(i))
Next