I think I fixed it now (hopefully finally ;-)

** Changed in: sikuli
       Status: Opinion => Fix Committed

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

** Summary changed:

- [1.1.0] with Region not working properly
+ [1.1.0] with Region not working properly --- fixed 1.1.1 2016-06-18+

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

Title:
  [1.1.0] with Region not working properly --- fixed 1.1.1 2016-06-18+

Status in Sikuli:
  Fix Committed

Bug description:
  I'm wondering why this code does not work:

  
  CenterScreen = Region(423,178,1165,377)   

  def findInRegion():
      with CenterScreen:    
          if exists(barras[1]) or exists(barras[1]) :            
              return getLastMatch()    
      return False

  Instead of using the specified region it uses the implicit SCREEN region.
  In my experience the with clause has never worked fine.

  Regards

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to