按键精灵:(错误码0)没有找到合法的符号是什么意思 10
Hwnd=Plugin.Window.Find(0,"地下城与勇士")sRect=Plugin.Window.GetClientRect(Hwnd)DimMyArrayM...
Hwnd = Plugin.Window.Find(0, "地下城与勇士")
sRect = Plugin.Window.GetClientRect(Hwnd)
Dim MyArray
MyArray=Split(sRect,"|")
Ux=CLng(MyArray(0))
Uy = CLng(MyArray(1))
Goto 攻击开始
FindPic Uy,Uy,Ux+800,uY+600,"Attachment:\11.bmp",1,zijiX,zijiY
If zijiX > 0 And zijiY > 0 Then
FindPic zijiX+728,zijiY+662,zijiX+1042,zijiY+660,"Attachment:\22.bmp",1,guaiX,guaiY
If guaiX > 0 And guaiY > 0 Then
If guaiX> zijiX- 70 Then
KeyPress "Right", 1
Else
否者
KeyPress "Left", 1
KeyPress "S", 1
KeyPress "D", 1
KeyPress "F", 1
KeyPress "G", 1
KeyPress "Q", 1
KeyPress "W", 1
KeyPress "E", 1
KeyUp "Right", 1
KeyUp "Left", 1
Delay 100
Rem 攻击开始
高手来教下错误在哪 展开
sRect = Plugin.Window.GetClientRect(Hwnd)
Dim MyArray
MyArray=Split(sRect,"|")
Ux=CLng(MyArray(0))
Uy = CLng(MyArray(1))
Goto 攻击开始
FindPic Uy,Uy,Ux+800,uY+600,"Attachment:\11.bmp",1,zijiX,zijiY
If zijiX > 0 And zijiY > 0 Then
FindPic zijiX+728,zijiY+662,zijiX+1042,zijiY+660,"Attachment:\22.bmp",1,guaiX,guaiY
If guaiX > 0 And guaiY > 0 Then
If guaiX> zijiX- 70 Then
KeyPress "Right", 1
Else
否者
KeyPress "Left", 1
KeyPress "S", 1
KeyPress "D", 1
KeyPress "F", 1
KeyPress "G", 1
KeyPress "Q", 1
KeyPress "W", 1
KeyPress "E", 1
KeyUp "Right", 1
KeyUp "Left", 1
Delay 100
Rem 攻击开始
高手来教下错误在哪 展开
2014-10-05
展开全部
Call后面的进程名,你没有定义。每一个进程都要定义的,例如代码要加上 Sub qj() //这个进程干嘛的,你要自己写代码 End
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询