← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269494]: While Loop with region.exists(IMG) doing more loops than needed

 

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

    Status: Open => Solved

Tepedino confirmed that the question is solved:
I apologize for the question being done here, as I just found a similar
problem with my limited loop and noticed that I forgot one thing that I
learned from other tests:  WAIT!

added a wait(1) in the end and it was crucial, since the window only
removes the img1 from the r region AFTER the drop, so without the was
still finding it.

Sorry for the problems, btu it might help people int he future (I hope
D=)

Thanks,

Augusto.

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