为什么我的按键精灵 后台脚本 在前台测试的时候是正确的,到后台鼠标位置就不对了? 30
rt,后台脚本在前台测试的时候是正确的,切到后台鼠标位置就不正确了。Hwnd=Plugin.Window.Foreground()Rem循环开始CallPlugin.Bk...
rt, 后台脚本在前台测试的时候是正确的,切到后台鼠标位置就不正确了。
Hwnd = Plugin.Window.Foreground()
Rem 循环开始
Call Plugin.Bkgnd.KeyDown(Hwnd, 17)
Delay 681
Call Plugin.Bkgnd.KeyDown(Hwnd, 69)
Delay 409
Call Plugin.Bkgnd.KeyUp(Hwnd, 69)
Delay 689
Call Plugin.Bkgnd.KeyUp(Hwnd, 17)
Delay 689
Call Plugin.Bkgnd.MoveTo(Hwnd, 227, 268)
Delay 811
Call Plugin.Bkgnd.LeftClick(Hwnd, 227, 268)
Delay 411
Call Plugin.Bkgnd.MoveTo(Hwnd, 556, 392)
Delay 1371
Call Plugin.Bkgnd.LeftClick(Hwnd, 556, 392)
Delay 1702
Call Plugin.Bkgnd.LeftClick(Hwnd, 556, 392)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 239, 272)
Delay 1119
Call Plugin.Bkgnd.LeftClick(Hwnd, 239, 272)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 70, 103)
Delay 934
Call Plugin.Bkgnd.LeftClick(Hwnd, 70, 233)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 76, 83)
Delay 815
Call Plugin.Bkgnd.LeftClick(Hwnd, 76, 83)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 280, 185)
Delay 2814
Call Plugin.Bkgnd.LeftClick(Hwnd, 280, 185)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 293, 178)
Delay 3170
Call Plugin.Bkgnd.LeftClick(Hwnd, 293, 178)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 337, 85)
Delay 1133
Call Plugin.Bkgnd.RightDown(Hwnd, 337, 85)
Delay 525
Call Plugin.Bkgnd.RightDown(Hwnd, 337, 85)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 308, 202)
Delay 2123
Call Plugin.Bkgnd.LeftClick(Hwnd, 308, 202)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 240, 325)
Delay 2485
Call Plugin.Bkgnd.LeftClick(Hwnd, 240, 325)
Delay 885
Goto 循环开始 展开
Hwnd = Plugin.Window.Foreground()
Rem 循环开始
Call Plugin.Bkgnd.KeyDown(Hwnd, 17)
Delay 681
Call Plugin.Bkgnd.KeyDown(Hwnd, 69)
Delay 409
Call Plugin.Bkgnd.KeyUp(Hwnd, 69)
Delay 689
Call Plugin.Bkgnd.KeyUp(Hwnd, 17)
Delay 689
Call Plugin.Bkgnd.MoveTo(Hwnd, 227, 268)
Delay 811
Call Plugin.Bkgnd.LeftClick(Hwnd, 227, 268)
Delay 411
Call Plugin.Bkgnd.MoveTo(Hwnd, 556, 392)
Delay 1371
Call Plugin.Bkgnd.LeftClick(Hwnd, 556, 392)
Delay 1702
Call Plugin.Bkgnd.LeftClick(Hwnd, 556, 392)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 239, 272)
Delay 1119
Call Plugin.Bkgnd.LeftClick(Hwnd, 239, 272)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 70, 103)
Delay 934
Call Plugin.Bkgnd.LeftClick(Hwnd, 70, 233)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 76, 83)
Delay 815
Call Plugin.Bkgnd.LeftClick(Hwnd, 76, 83)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 280, 185)
Delay 2814
Call Plugin.Bkgnd.LeftClick(Hwnd, 280, 185)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 293, 178)
Delay 3170
Call Plugin.Bkgnd.LeftClick(Hwnd, 293, 178)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 337, 85)
Delay 1133
Call Plugin.Bkgnd.RightDown(Hwnd, 337, 85)
Delay 525
Call Plugin.Bkgnd.RightDown(Hwnd, 337, 85)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 308, 202)
Delay 2123
Call Plugin.Bkgnd.LeftClick(Hwnd, 308, 202)
Delay 611
Call Plugin.Bkgnd.MoveTo(Hwnd, 240, 325)
Delay 2485
Call Plugin.Bkgnd.LeftClick(Hwnd, 240, 325)
Delay 885
Goto 循环开始 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询