← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #213704]: click( img ) not working..

 

Question #213704 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/213704

Gorilla posted a new comment:
it works if i change  the click() function to this:

Region_Menu_Guide=find(Pattern("KuA4IITEErat.png").similar(0.83).targetOffset(-2,-22)) #Find this image anywhere on the screen
  Region_Menu=Region(Region_Menu_Guide).left(200) #Create a New region 200 pixel left of the finding image
  Region_Menu.setH(600) # setting New region height by 600
  Region_Menu.setW(600) # setting new region width by 600
  Region_Menu.click(Pattern("KuA4IITEErat.png").similar(0.83).targetOffset(-2,-22))

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.