按键精灵问题 IF语句多次判断 我语法不对
MoveTo311,481//天岛RightClick1FindPic114,87,901,672,"Attachment:\采集点1.bmp",0.9,intX,int...
MoveTo 311, 481 //天岛
RightClick 1
FindPic 114,87,901,672,"Attachment:\采集点1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 MoveTo intXintY then RightClick 1
IF后面的意思是如果的到图就点这个图一次 如果没找到 RightClick 1
MoveTo 388, 454 //九黎 leftclick 1
再次找这张图FindPic 114,87,901,672,"Attachment:\采集点1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 MoveTo intXintY then RightClick 1
还是一样,如果的到图就点这个图一次 如果没找到 RightClick 1
重复上面的语句
MoveTo 468, 366 //巴蜀
MoveTo 549, 343 //中原
MoveTo 632, 343 //江南
MoveTo 625, 424 //雷泽
MoveTo 597, 267 //燕丘
MoveTo 640, 227 //幽州
顺便求一师父 小弟按键有一点点基础,求一语法师父 给我解答一些问题 人不吝啬 月薪回报
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Else
RightClick 1
MoveTo 388, 454 //九黎
LeftClick 1
FindPic 114, 87, 901, 672, "Attachment:\采集点1.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Else
RightClick 1
MoveTo 468, 366 //巴蜀
LeftClick 1
FindPic 114, 87, 901, 672, "Attachment:\采集点1.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
end if
是这样的吗? 展开
RightClick 1
FindPic 114,87,901,672,"Attachment:\采集点1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 MoveTo intXintY then RightClick 1
IF后面的意思是如果的到图就点这个图一次 如果没找到 RightClick 1
MoveTo 388, 454 //九黎 leftclick 1
再次找这张图FindPic 114,87,901,672,"Attachment:\采集点1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 MoveTo intXintY then RightClick 1
还是一样,如果的到图就点这个图一次 如果没找到 RightClick 1
重复上面的语句
MoveTo 468, 366 //巴蜀
MoveTo 549, 343 //中原
MoveTo 632, 343 //江南
MoveTo 625, 424 //雷泽
MoveTo 597, 267 //燕丘
MoveTo 640, 227 //幽州
顺便求一师父 小弟按键有一点点基础,求一语法师父 给我解答一些问题 人不吝啬 月薪回报
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Else
RightClick 1
MoveTo 388, 454 //九黎
LeftClick 1
FindPic 114, 87, 901, 672, "Attachment:\采集点1.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Else
RightClick 1
MoveTo 468, 366 //巴蜀
LeftClick 1
FindPic 114, 87, 901, 672, "Attachment:\采集点1.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
end if
是这样的吗? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询