Set tolerance in click(image)
Asked by
Max
Hi,
I have a problem in my Sikuli python script and no idea how to solve it.
I need to click on an image, but this could slightly differ from one computer to another. My code now is something like this:
while (exit != 1):
if exists(
I would like to say something like "if exists(
So I would like to add sort of tolerance for this image, so it could not be exactly the same, but differ a little.
I tried to use similar() function but I think I used in a wrong way (my script crashed).
Any suggestion?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.