sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39404
Re: [Question #306366]: Getting the Value from Image and storing in variable
Question #306366 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/306366
Status: Open => Answered
RaiMan proposed the following answer:
the usual approach is to find a visual next to the text, then span a
region containing the text, which in turn can be used with
Region.text():
ref = find(someReferenceImage)
textRegion = Region(ref.x + ??, ref.y + ??, width, height)
serialNumber = textRegion.text()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.