按键精灵语句有错,谁来帮我纠正 50
Rem开始hwnd=Plugin.Window.MousePoint()CallPlugin.Bkgnd.MoveTo(Hwnd,0,0)Delay1000FindPic...
Rem 开始
hwnd = Plugin.Window.MousePoint()
Call Plugin.Bkgnd.MoveTo(Hwnd, 0, 0)
Delay 1000
FindPic 0, 0, 800, 600, "attachment:\接受交易1.bmp", 0.8, x, y
If x > 0 and y > 0 Then
MoveToS x + 46, y + 52
LeftClick 1
Else
End If
Delay 1000
FindPic 0, 0, 800, 600, "attachment:\对方已确认图1.bmp", 0.9, x1, y1b
If x1> 0 and y1 > 0 Then
MoveTo x1+80 and y1+129
leftclick 1
End If
KeyPress 8
KeyPress 97
MoveTo a + 125, b + 129
LeftClick 1
KeyPress 8
KeyPress 103
MoveTo a + 116, b + 291
LeftClick 1
Delay 1000
FindPic 0, 0, 800, 600, "attachment:\点击交易前.bmp", 0.9, c, d
If c > 0 and d > 0 Then
MoveTo c + 215, d + 120
End If
LeftClick 1
Goto 开始
调试中提示有五处参数个数不匹配。错误附加码=1112:0
我是初学者,在家研究了两天,试着做个游戏中自动接收别人交易请求并自动进行交易的脚本,但是按照上面弄出来不能运行。对了我玩的游戏窗口是加壳的,不能直接获取句柄,所以在脚本中试着用找参照物进行鼠标移动的办法进行实现操作。语无伦次,望大神能懂 展开
hwnd = Plugin.Window.MousePoint()
Call Plugin.Bkgnd.MoveTo(Hwnd, 0, 0)
Delay 1000
FindPic 0, 0, 800, 600, "attachment:\接受交易1.bmp", 0.8, x, y
If x > 0 and y > 0 Then
MoveToS x + 46, y + 52
LeftClick 1
Else
End If
Delay 1000
FindPic 0, 0, 800, 600, "attachment:\对方已确认图1.bmp", 0.9, x1, y1b
If x1> 0 and y1 > 0 Then
MoveTo x1+80 and y1+129
leftclick 1
End If
KeyPress 8
KeyPress 97
MoveTo a + 125, b + 129
LeftClick 1
KeyPress 8
KeyPress 103
MoveTo a + 116, b + 291
LeftClick 1
Delay 1000
FindPic 0, 0, 800, 600, "attachment:\点击交易前.bmp", 0.9, c, d
If c > 0 and d > 0 Then
MoveTo c + 215, d + 120
End If
LeftClick 1
Goto 开始
调试中提示有五处参数个数不匹配。错误附加码=1112:0
我是初学者,在家研究了两天,试着做个游戏中自动接收别人交易请求并自动进行交易的脚本,但是按照上面弄出来不能运行。对了我玩的游戏窗口是加壳的,不能直接获取句柄,所以在脚本中试着用找参照物进行鼠标移动的办法进行实现操作。语无伦次,望大神能懂 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询