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

Hi,

I am new to sikuli but I am trying to get a script to wait for either image A 
or image B to appear in the same region.

type(Key.F8)

while not REGION.exists(img1) or REGION.exists(img2):
      wait(0.5)
type(Key.F8)

I am not sure whether I need to include to while not statements or if I am way 
off the mark but any help would be greatly appreciated!

Thanks

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to