sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #19229
Re: [Question #232183]: [How To] set variable value from OCR numerics
Question #232183 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/232183
Status: Open => Needs information
RaiMan requested more information:
---1. not clear what that should do?
banker = findAll("banker_img.png") # this are matches
sorted_banker = sorted(banker, key=lambda m: m.y) # this are sorted matches
for icon in sorted_banker: now you run through the sorted matches, but do not use the match (icon) in the loop
exists(banker) # exists not assigned or in an if does not make sense (no effect)
banker = find("banker_img.png") # what do you expect here? you already searched for ALL banker_img
---2. screen locale
pls. try to explain what this should be
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.