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

** Summary changed:

- [1.0.1] Finder.find(): only finds one match --- use Finder.findAll() to find 
more than one
+ [1.0.1] Finder.find(): only finds one match --- use Finder.findAll() to find 
more than one  --- docs fixed

** Description changed:

- ---------- problem
+ ---------- fixed 2015-04-19
  
  the docs are not showing the API and behaviour with 1.1.0
+ 
+ the docs for version 1.1.0:
+ http://sikulix-2014.readthedocs.org/en/latest/index.html
  
  ----------------------------------------------------------
  
  I am using Sikulix 1.1.0 (2015-01-16_01:00nightly) on win 7
  I try to implement the codes on example 2 of http://doc.sikuli.org/finder.html
  
  f = Finder("stars.png")
  img = "star.png"
  f.find(img)
  mm = []
  while f.hasNext():
      mm.append(f.next())
  print f.hasNext()
  f.destroy()
  print len(mm)
  for m in mm:
      print m
  
  The result is supposed to be 5 matches. However, I only get
  1
  M[30,32 23x23]@S(S(0)[0,0 1920x1080]) S:1.00 C:41,43 [0/0 msec]
  
  Please help.
  Thanks.

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

Title:
  [1.0.1] Finder.find(): only finds one match --- use Finder.findAll()
  to find more than one  --- docs fixed

Status in Sikuli:
  Fix Committed

Bug description:
  ---------- fixed 2015-04-19

  the docs are not showing the API and behaviour with 1.1.0

  the docs for version 1.1.0:
  http://sikulix-2014.readthedocs.org/en/latest/index.html

  ----------------------------------------------------------

  I am using Sikulix 1.1.0 (2015-01-16_01:00nightly) on win 7
  I try to implement the codes on example 2 of http://doc.sikuli.org/finder.html

  f = Finder("stars.png")
  img = "star.png"
  f.find(img)
  mm = []
  while f.hasNext():
      mm.append(f.next())
  print f.hasNext()
  f.destroy()
  print len(mm)
  for m in mm:
      print m

  The result is supposed to be 5 matches. However, I only get
  1
  M[30,32 23x23]@S(S(0)[0,0 1920x1080]) S:1.00 C:41,43 [0/0 msec]

  Please help.
  Thanks.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to