← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #665357]: Click on text captured from Screen().text()

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
instead of
Screen().text() (BTW: Screen(). not necessary - simply text() is enough for whole screen)

you might use
someRegion.text()

after before having evaluated someRegion with other SikuliX features
simpliest as
someRegion = Region(x, y, w, h) 

or
someRegion = selectRegion() # interactive

or with the many other features, that aloow to define a region relative
to other regions or locations on the screen.

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