← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #478080]: How to deal with getting text from dynamic bubble region

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
already tried to use copy to clipboard (click and select all) and then
get the text from the clipboard.

The Region.text() feature is not very reliable yet.

BTW: 
- you do not change the messageBubbleRegion: above() returns a new region object.
- you should add a suitable wait(x) after the wheel() e.g. wait(1)
- while not exists("1487733279602.png", 0): is faster (searches only once) and should be restricted to a region calculated from messageBubbleRegion

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