how to identify same text if it occurs multiple times in a region

Asked by Anunaya

Hi

I have created a region
my_region=Region(imagefile)
my_region.click("File")

but the problem is there are 5 text that matches the word File.
Is there a way in sikuli to distinguish and only click the file icon which I want

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

try findAll() and evaluate the result in matches (see docs for usage of findAll())

Can you help with this problem?

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

To post a message you must log in.