sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41684
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
Anupam posted a new comment:
Hi, Sorry for delayed response
I tried the clipboard solution along with doubleClick() function and it
work well now. This is what i implemented
while not exists(Pattern("1487911529987.png").targetOffset(80,-4)):
x,y=(1196,992)
for i in range (0,18):
wait(2)
type("c",KEY_CTRL)
wait(2)
message=Env.getClipboard()
print message
wait(2)
y=y-45
mouseMove(Location(x,y))
wait(2)
doubleClick(Location(x,y))
wheel(WHEEL_UP,11)
wait(2)
This seems working more accurate then region.text() so i left that approach.
Thanks for your prompt help!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.