← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #672106]: How may I get a region of image on screen?

 

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

    Status: Open => Answered

masuo proposed the following answer:
[example for first question]
r = Region (100, 100, 500, 500) 
r.find ( "image.png") 

[for #1]
Use SikuliX IDE and click image in editer pane, pattern setting window open.
Then select matching preview tab and move slider to change minimum similarity.
Switch off [Show ThumbNails], pattern setting will be shown.

like this:
click(Pattern("image.png").similar(0.96))
click(Pattern("image.png").exact())

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