sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34357
Re: [Question #269208]: Reading uneditable text form a screen
Question #269208 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269208
Status: Answered => Open
swagatsamal2000@xxxxxxxxx is still having a problem:
Thanks Raiman - for your help. It's working well with Sikuli IDE. i tried and am able to retrieve and copy the text to a notepad.
Appreciate your help.
But when I am using eclipse with Sikuli JAR of version 1.0.1 - it is not accepting Region(int,int,int,int) as either a method or constructor with class object.
PSB the piece of code which is working fine in IDE but not in Eclipse with Sikuli JAR version 1.0.1: Please advise.
m=find("image.png")
x1 = m.x
x2 = m.y
reg = Region(x1-130,x2,120,25) - *** This step is throwing error with eclipse. Not able to create a region ***
reg.highlight(3)
val = reg.text()
openApp("C:\\Windows\\system32\\notepad.exe")
wait(5)
type(val)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.