2014-06-28 08:34:08 |
RaiMan |
description |
I have two monitors: first has Sikuli IDE running, and second has full screen RDP session. If I capture an image from this session and type in IDE "wait(<this image>)", it doesn't work failing to find an image:
org.sikuli.script.FindFailed: FindFailed: can not find 1348576930232.png on the screen.
At the same time if I click image in the IDE and choose "matching preview" it successfully finds the region on screen.
More details: Sikuli X-1.0rc3 (r905)
My OS: Windows XP
OS of RDP target: Windows 2008 Server R2, 64 bit |
***** new feature:
Python: use the constant ALL as region, to search on all screens (equivalent to what you see in Preview)
Java: ScreenUnion sall = Screen.all(); //same behaviour as Screen objects
BE AWARE: depending on number and size of your monitors a search might be lengthy and you risk memory constraints.
So use with care and get back to small regions as early as possible.
-------------------------------------------------------------------------
I have two monitors: first has Sikuli IDE running, and second has full screen RDP session. If I capture an image from this session and type in IDE "wait(<this image>)", it doesn't work failing to find an image:
org.sikuli.script.FindFailed: FindFailed: can not find 1348576930232.png on the screen.
At the same time if I click image in the IDE and choose "matching preview" it successfully finds the region on screen.
More details: Sikuli X-1.0rc3 (r905)
My OS: Windows XP
OS of RDP target: Windows 2008 Server R2, 64 bit |
|