作者jkbull (NeverLookDownOnYourself)
看板EzHotKey
标题[请问] 按键精灵9 抓图问题
时间Tue Aug 20 23:30:32 2013
我想利用抓图做动作的判定
写法是
FindPic 166,195,235,264,"Attachment:\J.bmp",0.8,intX,intY
If intX > 0 and intY > 0 Then
Delay 500 * n
goto done
End if
单独使用上面这段都可以成功的抓到图
但是当我把她跟其他的脚本放在一起後她就不会抓图了
例如
rem code1
MoveTo 921,59
LeftClick 1
Delay 1000 * n
MoveTo 743,81
LeftClick 1
Delay 1000 * n
FindPic 166,195,235,264,"Attachment:\J.bmp",0.8,intX,intY
If intX > 0 and intY > 0 Then
Delay 500 * n
goto code1
End if
Delay 1500*n
MoveTo 921,59
LeftClick 1
Delay 2000 * n
MoveTo 218,438
想请问哪里出问题了@@??
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 1.163.156.120