← Back to team overview

sikuli-driver team mailing list archive

[Question #170013]: How to write "if not exists 2 image for 2 regions"

 

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

regionA = (w,x,y,z)
regionB = (w,x,y,z)
if not regionA.exists(img1.png) and not regionB.exists(img2.png):
<tab>click(img3.png)

so i want to write a script that would do click img3.png when img1.png and img2.png are absent from  regionA and regionB respectively. If either one is present it would not click.

Thanks



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