← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #260206]: How to read or get a string from text box or text area?

 

Question #260206 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/260206

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

Sikuli does not use element handlers so you can't just read values from
a text box. You can follow one of the below approaches:

1. Use OCR to read the text in a predefined area (be aware of OCR limitations)
2. If the text is clickable and "selectable", you can just select it and copy it directly to your buffer.


Eugene

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.