← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #242258]: visual calculator button need help

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I do not understand, why this complexity is needed.

keys = (img0, img1, ..., img9) # a list of the images

... now if you want to click the number 0

click(keys[0])

in any case, I would restrict the search area dynamically to the number
pad

pad = <evaluated region of number pad>
pad.click(keys[0])

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