← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254154]: Sikuli doesn't seem to see the whole screen on my EeePC?

 

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

    Status: Answered => Open

kaefert is still having a problem:
this code:
find(Region(0,0,100,100)).highlight(3)

gives me this error:
[error] script stopped with error in line 1
[error] FindFailed ( org.python.proxies.sikuli.Region$Region$0 cannot be cast to org.sikuli.script.Pattern )

and this code:
Region(0,0,100,100).highlight(10)

gives me this error:
[error] highlight does not work on Linux.

and your code you now posted:
print exists(capture(0,0,100,100))

gives me this output:
[debug] ScreenUnion: capture: java.awt.Rectangle[x=0,y=0,width=100,height=100]
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=100,height=100]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=100,height=100]
[debug] FileManager: tempfile create: /tmp/sikuli-2424115687081084662.png
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1024,height=600]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1024,height=600]
M[0,0 100x100]@S(S(0)[0,0 1024x600]) S:1,00 Center:50,50
[debug] SikuliXFinal: cleanUp: 0

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.