sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02232
[Question #152660]: region or not?
New question #152660 on Sikuli:
https://answers.launchpad.net/sikuli/+question/152660
hi, im using win xp prof
my code:
imagePath = "C:\\SikuliLib\\MSSLib.sikuli\\Images\\" # Path to all stored images
m = find(imagePath+"Sensor.png")
w = 1000
h = 220
FKURegion = Region(m.getX()-20,m.getY()-10,w,h)
FKURegion.exists(Pattern(imagePath+"SystemPreProcess.png").similar(0.95))
click(getLastMatch())
when I use FKURegion.exists, the click command under it does not work. If i delete FKURegion the click goes through. can some one explain this to me why i shouldn´t use a region.
thanx =)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.