按键精灵后台找色判断,鼠标点击,究竟哪错了
XY=Plugin.Bkgnd.FindColor(Hwnd,835,290,1011,354,"00FCFF")ZB=InStr(XY,"|")X=Clng(Left(...
XY=Plugin.Bkgnd.FindColor(Hwnd,835, 290,1011, 354,"00FCFF")
ZB = InStr(XY, "|")
X = Clng(Left(XY, ZB - 1)): Y = Clng(Right(XY, Len(XY) - ZB))
If X> 0 And Y > 0 Then
Delay 20
Call Plugin.Bkgnd.LeftClick(Hwnd,ZX,ZY)
End If 展开
ZB = InStr(XY, "|")
X = Clng(Left(XY, ZB - 1)): Y = Clng(Right(XY, Len(XY) - ZB))
If X> 0 And Y > 0 Then
Delay 20
Call Plugin.Bkgnd.LeftClick(Hwnd,ZX,ZY)
End If 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询