← Back to team overview

sikuli-driver team mailing list archive

[Bug 1242584] [NEW] Region getLastMathc() problem

 

Public bug reported:

find("logo.png")
find("name.png")
name = getLastMatch().getTarget()
hover(name) #this work perfect and hover name.png

#but if I use region...
find("logo.png")
Region(0,0,1366,768).find("name.png")
name = getLastMatch().getTarget()
hover(name) #hover under logo.png

Why I cant use Region with getLastMatch()?


Also with exists:

exists("logo.png")
exists("name.png")
name = getLastMatch().getTarget()
hover(name) #this work perfect and hover name.png

#but if I use region...
exists("logo.png")
Region(0,0,1366,768).exists("name.png")
name = getLastMatch().getTarget()
hover(name) #hover under logo.png

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  Region getLastMathc() problem

Status in Sikuli:
  New

Bug description:
  find("logo.png")
  find("name.png")
  name = getLastMatch().getTarget()
  hover(name) #this work perfect and hover name.png

  #but if I use region...
  find("logo.png")
  Region(0,0,1366,768).find("name.png")
  name = getLastMatch().getTarget()
  hover(name) #hover under logo.png

  Why I cant use Region with getLastMatch()?

  
  Also with exists:

  exists("logo.png")
  exists("name.png")
  name = getLastMatch().getTarget()
  hover(name) #this work perfect and hover name.png

  #but if I use region...
  exists("logo.png")
  Region(0,0,1366,768).exists("name.png")
  name = getLastMatch().getTarget()
  hover(name) #hover under logo.png

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


Follow ups

References