내가 Sikuli에 새로운 오전과 같습니다 매우 간단한 스크립트로 그것을 밖으로 시도하고 계속 ...Sikuli IDE 명령 대기 ("이미지")
대기를 클릭하십시오 cmds가 사용 중이며 작동하고 있습니다. 문제는 내가 직면 한 wait("1513068228396.png",3600)
은 이미지가 나타날 때까지 기다리지 않고 10 ~ 15 초 정도 기다렸다가 다음 cmd를 실행합니다. 나는 몇몇 로그를 포함 시키려고 노력했지만, 같은 결과를 얻기 위해 다른 이미지들도 사용했다.
wait("1513067960826.png",60)
click(Pattern("1513066493827.png").targetOffset(-106,2))
sleep(2)
click("1513066637741.png")
sleep(1)
click("1513599247108.png")
sleep(5)
print "wait for my image"
wait("1513068228396.png",3600) # Facing issue in this line
print "found my image"
outputLog이 문제를 해결하는 방법
wait for my image
[debug] Region: find: waiting 3600.0 secs for 1513068228396.png to appear in R[0,0 1920x1080]@S(0)
[debug] Image: reused: 1513068228396.png (file:/D:/softwares/sikuli/SENINFO_V100R002C00SPC700.sikuli/1513068228396.png)
[debug] Region: checkLastSeen: not there
[debug] Region: find: 1513068228396.png has appeared at M[832,379 30x16]@S(S(0)[0,0 1920x1080]) S:0.70 C:847,387 [753 msec]
found my image
어떤 제안.
'대기 (.) (0.8 패턴 ("some_image.png")를 유사, 3600) '이 코드 라인 문제를 해결, 감사합니다 .. :) –