sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05090
Re: [Question #170169]: how to edit existing text
Question #170169 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/170169
Status: Open => Answered
RaiMan proposed the following answer:
This example might help:
At the bottom of this page there is a line, that might look similar to your situation
(some label text and an input field)
-- this puts "test" into the input field:
m = find(<image1 launchpad>).right().find(<image2 Read the guide>)
m.highlight(2)
paste(m.right(50), "test")
the image placeholders <image ...> have to be replaced with the captured images.
Take care, that image1 is bigger in height as image2 and image 2 only contains the text.
Trying to find the label as text with find("Read the guide") does not
work with the current release because of the still weak OCR feature.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.