← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #671488]: Exist - Location

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
v_Location = null
if exists(Image):
    v_Location = getLastmatch()
if not v_Location:
    print "we have problems"
    exit(1)
print v_Location

... should do what you want.

in any case: use 1.1.2 or even better 1.1.3

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.