sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11010
Re: [Question #199969]: Print the last 10 numbers, NEED A HELP !!!
Question #199969 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199969
Description changed to:
Hello,
I have one problem, thats it, how get the last 10 numbers from each 1000
numbers.
SO:
1. How to set some parameter or attribute correctly on some image,
and then, exlude this number. Thats mean, number will searched only for one time.
Number will searched only if him parameter is 0. When he have
parameter 1, dont search him again.
2. And I need Exclude all number except the last 10 numbers from 1000.
And I need print these last numbers, or get them to popup window.
example: #This is no code. :)
1. if region.exists(199): #199 as number which is contained in image.
if parameter 1 not exists:
set parameter to (1)
2. If script will see the 10 numbers:
print them
stop script
DId you have any idea about it?
How I can write this script correctly, because he must be too fast ??
Thanks a lot for your answers !!!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.