← Back to team overview

sikuli-driver team mailing list archive

[Question #255287]: Find Imagem

 

New question #255287 on Sikuli:
https://answers.launchpad.net/sikuli/+question/255287

I have two windows in front of one another. When the two windows are open and I can see the close button of both.
I this case I want to close de first window, how it is the active window in the moment, the close button becomes red.
Then I run my code to close the first window, but the Sikuli find the close button from second window that is not actived.
I set similarity to 0.97 using Settings.MinSimilarity because I have more functions that use it, and I don't want to change the similarity inside of this funcition that close windows, because if I use 0.99 inside of this function the Sikuli identifies the difference between the two images.

What I can do?

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