按键精灵的错误码0,没有找到合法的符号 怎么改谢谢 15
i=0Whilei=0Callqj()Callxz()Callht()Callxy()Subqj()KeyDown"W",1KeyPress"Tab",1Delay500...
i=0
While i = 0
Call qj()
Call xz()
Call ht()
Call xy()
Sub qj()
KeyDown "W", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "W", 1
End Sub
Sub xz()
KeyDown "A", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "A", 1
End Sub
Sub ht()
KeyDown "S", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "S", 1
End Sub
Sub xy()
KeyDown "D", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "D", 1
End Sub
KeyPress "X", 1
Delay 200
FindPic 0,0,300,200,"Attachment:\dazuoz.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
i = 1
Delay 5000
End If
Wend
语法错误:脚本
自动打怪1 ,第8行,第1个字符:(错误码0)缺少符号。
语法错误:脚本
自动打怪1 ,第124行,第1个字符:(错误码0)没有找到合法的符号 展开
While i = 0
Call qj()
Call xz()
Call ht()
Call xy()
Sub qj()
KeyDown "W", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "W", 1
End Sub
Sub xz()
KeyDown "A", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "A", 1
End Sub
Sub ht()
KeyDown "S", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "S", 1
End Sub
Sub xy()
KeyDown "D", 1
KeyPress "Tab", 1
Delay 500
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyPress "F", 1
Delay 150
KeyUp "D", 1
End Sub
KeyPress "X", 1
Delay 200
FindPic 0,0,300,200,"Attachment:\dazuoz.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
i = 1
Delay 5000
End If
Wend
语法错误:脚本
自动打怪1 ,第8行,第1个字符:(错误码0)缺少符号。
语法错误:脚本
自动打怪1 ,第124行,第1个字符:(错误码0)没有找到合法的符号 展开
2个回答
展开全部
Call后面的进程名,你没有定义。每一个进程都要定义的,例如代码要加上
Sub qj()
//这个进程干嘛的,你要自己写代码
End
Sub qj()
//这个进程干嘛的,你要自己写代码
End
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询