← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #667831]: Check for 2 images in 1 region

 

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

Conor Lavelle posted a new comment:
Hi Raiman,
Thanks for your reply!

type(Key.F8)
while True: 
    if Region(402,465,298,280).exists(img1,0) or Region(379,489,272,203).exists(Pattern(img2),0):
        wait(0.5)
type(Key.F8)

This is what I have now but it still is not hitting f8 when the image
appears!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.