Question about tolerance changing via script
Asked by
Don S
I'm trying to find an image using tolerance so that I can click it and know that it was clicked properly. My code right now is
if exists(
print("Button has not been pressed")
click("
if exists(
print("Button has not been pressed")
elif exists(
print("Button has been pressed")
I want the tolerance to be 96 or .96 for these images, but wherever I add that (either via .similar(.96) or exact(96) I get an error and it isn't running properly. I'm a beginner to Python, so any code examples for this would be much appreciated ^__^
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Don S
- Solved:
- Last query:
- Last reply:
To post a message you must log in.