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

    Status: Open => Answered

RaiMan proposed the following answer:
I understand, that in the region reg (e.g. reg = Region(100, 100, 100,
100) ) on the screen, you want to test the existence of an icon given as
"icon.png".

if reg.exists("icon.png"):
    print "icon found"
else:
    print "icon not found"

There are many more possibilities to define the Region reg: see docs:
docs.sikuli.org

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