语法错误:脚本 我的脚本1 ,第16行,第1个字符:(错误码0)没有找到合法的符号。语法错误:脚本 我的脚本1 ,第16行,第1个字符:(错误码13)缺少符号Loop。改成这样:Do DMColor = Plugin.Color.GetPixelColor(410, 721, 0)//得到地面点颜色 FindPic 0,0,1440,900,"Attachment:\3.bmp...
按键精灵错误码0 代码找不到哪里出问题了
语法错误:脚本
我的脚本1 ,第16行,第1个字符:(错误码0)没有找到合法的符号。
语法错误:脚本
我的脚本1 ,第16行,第1个字符:(错误码13)缺少符号Loop。
改成这样:
Do
DMColor = Plugin.Color.GetPixelColor(410, 721, 0)//得到地面点颜色
FindPic 0,0,1440,900,"Attachment:\3.bmp",0.4,intX,intY//找到任务工具并点击
If intX > 0 And intY > 0 Then
MoveTo intX-20, intY - 40
Else
KeyPress "Enter", 1
SayString "hi,你好,找不到任务工具了"
KeyPress "Enter", 1
End If
delay 500
LeftClick 1
Delay 200
IfColor 410, 721,"DMColor",1 Then//判断是否工具任务
Else
End If
Loop
打字累,请采纳!2014-10-28
源码没贴完整.就这样看少了loop和end if2014-10-26
do循环完成的地方加个loop2014-10-27