sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17905
[Question #228405]: Define region
New question #228405 on Sikuli:
https://answers.launchpad.net/sikuli/+question/228405
Hi everyone,
It's pretty hard to get a simple example of Region.
I read through the notes of Region but still not manage to write a solution.
Condition:
One webpage consists of 5 similar icons, I just want to click one of those similar icons,
so I need to select a region and click the icon inside the Region.
Codes that is not working:
def Region_with():
reg = Region(551,325,499,342)
reg.highlight(5)
reg.click("icon.png")
Anyone can do me a favor or just show a simple Region tutorial?
Thanks in advance!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.