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

    Status: Open => Answered

RaiMan proposed the following answer:
yes, s.exists() returns a match object if found - otherwise "Java
nothing", that can be used in further actions and find's (subclass of
Region). see docs.

So i guess this should work (meta code)

if(s.exist(file name.ext))
    do something if image is found
else
    do something is image is not found
endif

Now it is your turn to make it Java ;-)

-- 
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