按键精灵后台找到图了设置了 移动点击 为什么没有效果?
Hwnd=1313352iCoord=Plugin.Bkgnd.FindPic(Hwnd,733,44,783,79,"D:\出征.bmp",0,0.7)XY=Split...
Hwnd = 1313352
iCoord = Plugin.Bkgnd.FindPic(Hwnd,733,44,783,79, "D:\出征.bmp", 0, 0.7)
XY = Split(iCoord,"|")
TracePrint XY(0)
TracePrint XY(1)
If X >= 0 and Y >= 0 Then
End If
Delay 1000
Call Plugin.Bkgnd.MoveTo(Hwnd, X, Y)
Delay 1000
Call Plugin.Bkgnd.LeftClick(Hwnd, X, Y)
求大神们指点!万分感谢! 展开
iCoord = Plugin.Bkgnd.FindPic(Hwnd,733,44,783,79, "D:\出征.bmp", 0, 0.7)
XY = Split(iCoord,"|")
TracePrint XY(0)
TracePrint XY(1)
If X >= 0 and Y >= 0 Then
End If
Delay 1000
Call Plugin.Bkgnd.MoveTo(Hwnd, X, Y)
Delay 1000
Call Plugin.Bkgnd.LeftClick(Hwnd, X, Y)
求大神们指点!万分感谢! 展开
2个回答
展开全部
。。。这语句逻辑我也是醉了。生搬硬套啊兄弟。
Hwnd = 1313352
iCoord = Plugin.Bkgnd.FindPic(Hwnd,733,44,783,79, "D:\出征.bmp", 0, 0.7)
XY = Split(iCoord,"|")
TracePrint XY(0)
TracePrint XY(1)
X = XY(0)
Y = XY(1)
If X >= 0 and Y >= 0 Then
Delay 1000
Call Plugin.Bkgnd.MoveTo(Hwnd, X, Y)
Delay 1000
Call Plugin.Bkgnd.LeftClick(Hwnd, X, Y)
End If
Hwnd = 1313352
iCoord = Plugin.Bkgnd.FindPic(Hwnd,733,44,783,79, "D:\出征.bmp", 0, 0.7)
XY = Split(iCoord,"|")
TracePrint XY(0)
TracePrint XY(1)
X = XY(0)
Y = XY(1)
If X >= 0 and Y >= 0 Then
Delay 1000
Call Plugin.Bkgnd.MoveTo(Hwnd, X, Y)
Delay 1000
Call Plugin.Bkgnd.LeftClick(Hwnd, X, Y)
End If
追问
哥 还是不行啊 后台图找到了!就是不点击!
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询