← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #275381]: How to find the text from the screen and that text should be assigned to the variable

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
your ctrl-a ctrl-c apparently does not copy any valid text from the
screen.

a suitable wait after the click() might help:
click (img ) #click the image which has the text format in 1st window.
wait(1) # let GUI get ready after the click
type ('a',KeyModifier.CTRL )

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.