按键精灵后台点击左键,窗口总会切换到点击的那个窗口的?
DimHand//Hand=3474358Hand=Plugin.Window.MousePoint()RemACallkey(119,155)Delay1000Goto...
Dim Hand
//Hand =3474358
Hand = Plugin.Window.MousePoint()
Rem A
Call key(119, 155)
Delay 1000
Goto A
Sub key(X, Y)
Call Plugin.Bkgnd.LeftClick(Hand, X, Y)
Call Plugin.Bkgnd.keypress(Hand, &H7B)
End Sub
以上是我的程序码,我试过以句柄锁定和鼠标抓句柄,在自己的电脑都能成功,不过换一台电脑就失败,可以麻烦大大帮我解惑一下? 展开
//Hand =3474358
Hand = Plugin.Window.MousePoint()
Rem A
Call key(119, 155)
Delay 1000
Goto A
Sub key(X, Y)
Call Plugin.Bkgnd.LeftClick(Hand, X, Y)
Call Plugin.Bkgnd.keypress(Hand, &H7B)
End Sub
以上是我的程序码,我试过以句柄锁定和鼠标抓句柄,在自己的电脑都能成功,不过换一台电脑就失败,可以麻烦大大帮我解惑一下? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询