sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46512
Re: [Question #666773]: How to get on the road as a newcomer to Java programming
Question #666773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/666773
Alexander Schone posted a new comment:
Why could it return null? It will always find a number there.
a live look? i can post a screenshot of the screen i will be running the script on if that helps.
yes it is a w digit number and yes i will have two regions.
would it be possible to use .exists() ? like this in python:
def get_digits_in_region(region):
foundNumbers = []
for match in numbers:
if region.exists(number[1], 0.001):
found_numbers.append(number_pattern[0])
return found_numbers
not sure what the def does here i suppose it would not be needed in java
due to syntax differences. but if exists could be used then it would run
faster i guess?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.