Can't match Minimize button's color on Mac
Asked by
acypher
I want to click on the yellow Minimize button in the upper-left corner of windows on a Mac.
I use the 'quick capture hotkey' to capture the image.
When I run the script, it either finds no buttons, or finds the red Close button instead.
When I look at the Matching Preview, changing Similarity either results in choosing all 3 of the Close, Minimize, Maximize buttons or none of them. I did once get just the Minimize button to match with a Similarity of .64, but when I ran the script, the Close button was selected.
I think part of the problem with the Matching Preview may be that Sikuli is still the frontmost app, so only the Pattern Settings window itself actually has colored buttons, even though that window is removed from the Preview.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- acypher
- Solved:
- Last query:
- Last reply:
To post a message you must log in.