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

The below piece of code doesnt seem to be working. if i use ifexists() then 
always the +ve part is executed irrespective of the conditon. and the finder 
function is working always for the -ve part.

none of the functions are evaluating the condition properly. 

can anyone please help me?

if exists("AueIV1ExtGnI.png"):
    click("1353997241258.png")
else:
    print "Its wrong"



f=Finder("AueIV1ExtGnI.png")
img="ExGnIodPnsen.png"
if f.find(img):
    click("1353997241258.png")
else:
    print "its worng"

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to