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

    Status: Open => Answered

masuo proposed the following answer:
You should confirm yourself that situation you think it did not work.
To use print is one way to confirm situation.
To use highlight() is one way to confirm where SikuliX found image.

m = exists("1500901924611-1.png") 
print m
if m:
    print "if condition true"
    exists("1500902007003-1.png").highlight(2)
    click("1500902007003-1.png")

else:
    print "if condition false"
    exists("1500902007007-1.png").highlight(2)
    click("1500902007007-1.png")

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to