← Back to team overview

sikuli-driver team mailing list archive

[Bug 1056174] Re: [request] Sikuli should detect images on second monitor

 

** Changed in: sikuli
   Importance: High => Critical

** Summary changed:

- [request] Sikuli should detect images on second monitor
+ [request] Sikuli should detect images on second monitor --- added in 1.1.0-Beta2

** Description changed:

+ ***** 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

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1056174

Title:
  [request] Sikuli should detect images on second monitor --- added in
  1.1.0-Beta2

Status in Sikuli:
  Fix Committed

Bug description:
  ***** 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1056174/+subscriptions


References