← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #215630]: i need help looping my script

 

Question #215630 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/215630

    Status: Open => Answered

RaiMan proposed the following answer:
I guess you have to wait a little after the last click() (reload page)
It might take more than the standard 3 seconds for the image in the while exists() to come up.
Since exists() does not "say" anything,the loop just silently finishes, if the image is not there.

this should do it:
while exists("1354260405577.png", 10): # this is the pattern i want the macro to click on

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.