sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21901
[Bug 1242584] Re: Region getLastMatch() problem
Thanks a lot! Now all is clear :3
--
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 getLastMatch() problem
Status in Sikuli:
Invalid
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
References