How to click using text instead of images

Asked by balakrishnan

Hi

I like to click using Text instead of caprtuing a screenshot.
May i have the sample code to perfom the same

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
obiwan-92 (obiwan-92) said :
#1

Hello,

Yes.
click("someText")

But you have to enable the OCR int the settings of Sikuli.
Be aware that the OCR have a lot of problem, so maybe it won't work.

Regards.

Can you help with this problem?

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

To post a message you must log in.