← Back to team overview

sikuli-driver team mailing list archive

[Question #440387]: Sikuli is not clicking on the image inside the region

 

New question #440387 on Sikuli:
https://answers.launchpad.net/sikuli/+question/440387

This is the beggining of my code.

dungeon = ("nothing selected", "d1", "d2", "d3")
selected = select("Please select a dungeon", options = dungeon)
if selected == dungeon[0]:
   popup("You did not select a dungeon")
   exit(1)
setROI(Region(652,246,958,624))
if not exists (Pattern("1483825069661-1.png").similar(0.84)):
 Region(722,980,383,100).click(Pattern("1483822570122-1.png").similar(0.88).targetOffset(-34,-3))

so, my code has 120+ lines, but this is at the begining of the code. I don't know why doesn't it recognize my image.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.