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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, seems to be some weird behavior:
it is not an empty string, but a new-line, that is added to the "64"

I have to check.

workarounds:

use
a = find("1557282546849.png").text().strip()
... which removes whitespace from start and end of string

or
a = find("64.png").collectWordsText()[0]
... see: 
https://sikulix-2014.readthedocs.io/en/latest/region.html#extracting-text-from-a-region

-- 
You received this question notification because your team Sikuli Drivers
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