← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #195343]: Trapping error for Region.wait ?

 

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

    Status: Solved => Open

bengalih is still having a problem:
if NextEpisodeRegion.exists("logo.png",8):


OK...duh...it was late and i was focusing on region.find for some reason and didn't see a timeout value there...I wanted to figure it out before I went to bed so figured I'd ask and have an answer in the morning.  

Anyway, thanks...could you advise on a practical purpose of using .wait
over .exists then?  If putting a timeout on .exists has the same net
result as a .wait but without the ugly error output, why use it?

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