← Back to team overview

sikuli-driver team mailing list archive

[Question #161632]: True or False when image is visible

 

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

I want to check the screen if a certain image is visible. If the image is visible i want to return True and if it is not visible I want to return False. 

Is this the proper solution or is it any better solution? 

try:
    exists(image)
    return True
except: return False

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