按键精灵区域找图为什么测试时候可以找到并执行,但是去使用的时候找不到图呢?大神指导下 10
Delay456MoveTo1489,859Delay3263LeftClick1MoveTo975,643Delay16139LeftClick1MoveTo975,6...
Delay 456
MoveTo 1489, 859
Delay 3263
LeftClick 1
MoveTo 975, 643
Delay 16139
LeftClick 1
MoveTo 975, 656
Delay 943
LeftClick 1
MoveTo 1116, 825
Delay 943
LeftClick 1
MoveTo 1617, 787
Delay 1485
LeftClick 1
Delay 1151
LeftClick 1
MoveTo 1485, 877
Delay 1426
LeftClick 1
MoveTo 1540, 768
Delay 2152
LeftClick 1
Delay 676
LeftClick 1
MoveTo 1320, 628
Delay 1831
LeftClick 1
MoveTo 962, 675
Delay 2186
LeftClick 1
MoveTo 1617, 790
Delay 1889
LeftClick 1
MoveTo 1576, 473
Delay 1697
LeftClick 1
MoveTo 1528, 428
Delay 3872
LeftClick 1
Delay 1200
LeftClick 1
MoveTo 1264, 859
Delay 3086
LeftClick 1
For i = 5 To 5
FindPic 0,0,1920,1080,"Attachment:\喷漆.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo 1804, 513
MoveTo 1857, 325
Delay 327
LeftDoubleClick 1
Delay 126
End If
Next
MoveTo 867, 853
Delay 4664
LeftClick 1
MoveTo 1619, 789
Delay 1624
LeftClick 1
MoveTo 1487, 883
Delay 1248
LeftClick 1
MoveTo 398, 846
Delay 1321
LeftClick 1
MoveTo 1043, 647
Delay 1488
LeftClick 1
MoveTo 1619, 791
Delay 2415
LeftClick 1
MoveTo 1046, 640
Delay 1177
LeftClick 1
MoveTo 853, 474
Delay 2248
LeftClick 1
MoveTo 806, 191
Delay 1434
LeftClick 1
MoveTo 979, 370
Delay 1466
LeftClick 1
Delay 824
KeyDown "D", 1
Delay 151
KeyUp "D", 1
MoveTo 936, 495
Delay 1218
LeftClick 1
Delay 522
KeyDown "S", 1
Delay 78
KeyUp "S", 1
MoveTo 1050, 128
Delay 962
LeftClick 1
MoveTo 1255, 916
Delay 1449
LeftClick 1
MoveTo 787, 254
Delay 819
LeftDown 1
Delay 896
LeftUp 1
MoveTo 1066, 449
Delay 663
LeftClick 1
MoveTo 838, 603 展开
MoveTo 1489, 859
Delay 3263
LeftClick 1
MoveTo 975, 643
Delay 16139
LeftClick 1
MoveTo 975, 656
Delay 943
LeftClick 1
MoveTo 1116, 825
Delay 943
LeftClick 1
MoveTo 1617, 787
Delay 1485
LeftClick 1
Delay 1151
LeftClick 1
MoveTo 1485, 877
Delay 1426
LeftClick 1
MoveTo 1540, 768
Delay 2152
LeftClick 1
Delay 676
LeftClick 1
MoveTo 1320, 628
Delay 1831
LeftClick 1
MoveTo 962, 675
Delay 2186
LeftClick 1
MoveTo 1617, 790
Delay 1889
LeftClick 1
MoveTo 1576, 473
Delay 1697
LeftClick 1
MoveTo 1528, 428
Delay 3872
LeftClick 1
Delay 1200
LeftClick 1
MoveTo 1264, 859
Delay 3086
LeftClick 1
For i = 5 To 5
FindPic 0,0,1920,1080,"Attachment:\喷漆.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo 1804, 513
MoveTo 1857, 325
Delay 327
LeftDoubleClick 1
Delay 126
End If
Next
MoveTo 867, 853
Delay 4664
LeftClick 1
MoveTo 1619, 789
Delay 1624
LeftClick 1
MoveTo 1487, 883
Delay 1248
LeftClick 1
MoveTo 398, 846
Delay 1321
LeftClick 1
MoveTo 1043, 647
Delay 1488
LeftClick 1
MoveTo 1619, 791
Delay 2415
LeftClick 1
MoveTo 1046, 640
Delay 1177
LeftClick 1
MoveTo 853, 474
Delay 2248
LeftClick 1
MoveTo 806, 191
Delay 1434
LeftClick 1
MoveTo 979, 370
Delay 1466
LeftClick 1
Delay 824
KeyDown "D", 1
Delay 151
KeyUp "D", 1
MoveTo 936, 495
Delay 1218
LeftClick 1
Delay 522
KeyDown "S", 1
Delay 78
KeyUp "S", 1
MoveTo 1050, 128
Delay 962
LeftClick 1
MoveTo 1255, 916
Delay 1449
LeftClick 1
MoveTo 787, 254
Delay 819
LeftDown 1
Delay 896
LeftUp 1
MoveTo 1066, 449
Delay 663
LeftClick 1
MoveTo 838, 603 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询