- 主题
- 回帖
- 0
- 精华
- 注册时间
- 2009-9-12
- 最后登录
- 1970-1-1
- 在线时间
- 小时
- 爆棚声望
-
- PGB
-
|
我自己刷儿子的代码
nn=0
Rem kaishi
Delay 2000
KeyPress "Space", 1
Delay 20000
FindPic 0,0,1919,1079,"Attachment:\姓.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
nn=nn+1
MoveTo intX, intY
KeyDown 17, 1
KeyPress 83, 1
KeyUp 17, 1
Delay 50000
MessageBox ("老爸 ,孩儿来啦!" & "脚本重载了:" & nn & "次。")
KeyDown "F12", 1
Delay 216
KeyUp "F12", 1
Delay 80
EndScript
End If
Delay 500
KeyDown 17, 1
KeyDown 16, 1
KeyPress 82, 1
KeyUp 16, 1
KeyUp 17, 1
Delay 500
FindPic 0,0,1919,1079,"Attachment:\否.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 500
LeftClick 1
End If
Delay 48000
nn=nn+1
Goto kaishi '回到开始重新来
注:延时的毫秒,根据自己电脑情况可以稍微改改,截图要自己截了
参考帖:http://www.playgm.cn/forum.php?m ... p;page=4#pid7812598 |
|