[1.1.0] screen.findAllText only gets one match.

Asked by upma

I've done some tests about the API findAllText in Region class and can only get one match no matter how many they are. Is it a known issue? Thanks for your help in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

made it a bug:

I never tested this feature nor evaluated the code, that still is from the version 1.0RC3.

I will only touch the text features later this year with version 2.

Revision history for this message
upma (yujunma09) said :
#2

Thanks for your answer. BTW, is there any other known limitation of findAllText() API. For example, it seems that single word can be recognized easily but hard for any combination of words. How can I specify the API to find OCRChar, OCRWord , OCRLines and other elements that are under org.sikuli.natives folder. Please let me know if my understanding is wrong. Thanks.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

I cannot tell you anything about these internal features.

If you want to use them, you have to find out, by looking into the code.

Revision history for this message
upma (yujunma09) said :
#4

Ok, thanks. I will do some research on it.

Can you help with this problem?

Provide an answer of your own, or ask upma for more information if necessary.

To post a message you must log in.