按键精灵,绑定了多个界面,开始和结束热键分别是F10,F12,如何按F12的时候只暂停当前窗口
我之前找到过,后来重装系统,不见了Hwnd=Plugin.Window.Find(0,"")CallPlugin.Window.Active(Hwnd)CallPlugi...
我之前找到过,后来重装系统,不见了
Hwnd = Plugin.Window.Find(0, "")
Call Plugin.Window.Active(Hwnd)
Call Plugin.bgkms6_10.FakeWindowState(Hwnd, 2)
Rem a
Call Plugin.Bkgnd.KeyPress(Hwnd, 9)
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 200
Goto a 展开
Hwnd = Plugin.Window.Find(0, "")
Call Plugin.Window.Active(Hwnd)
Call Plugin.bgkms6_10.FakeWindowState(Hwnd, 2)
Rem a
Call Plugin.Bkgnd.KeyPress(Hwnd, 9)
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 200
Goto a 展开
展开全部
Hwnd = Plugin.Window.Find(0, "")
Call Plugin.Window.Active(Hwnd)
Call Plugin.bgkms6_10.FakeWindowState(Hwnd, 2)
Rem a
Call Plugin.Bkgnd.KeyPress(Hwnd, 9)
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 200
a = GetLastKey()
If a=123 Then
Goto F12暂停
End If
Goto a
Rem F12暂停
Delay 500
a = GetLastKey()
If a=123 Then
Goto a
End If
Goto F12暂停
Call Plugin.Window.Active(Hwnd)
Call Plugin.bgkms6_10.FakeWindowState(Hwnd, 2)
Rem a
Call Plugin.Bkgnd.KeyPress(Hwnd, 9)
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 200
a = GetLastKey()
If a=123 Then
Goto F12暂停
End If
Goto a
Rem F12暂停
Delay 500
a = GetLastKey()
If a=123 Then
Goto a
End If
Goto F12暂停
更多追问追答
追问
如果三个窗口呢
追答
是多线程脚本还是你开了3个脚本啊
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询