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

    Status: Open => Answered

RaiMan proposed the following answer:
text() is an object method, so you need a Region object, that you can
ask for the contained text.

easiest way to create a Region object interactively:

reg = selectRegion()
print reg.text()

run this in the IDE and you will be able to select your region and
hopefully get printed the contained text in the message area.

in a real script you would create a region on the fly with one of the
many available features.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to