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

I want to click the specific object (as a circular button) depending on his 
state.
The object is changing after clicking on it, takes his disable state. It is the 
same image but grey.

With my actual script, after found all the good images based on her enable 
state, the script continue (yes i did a loop in order to click on all the 
matchs) to click on the image whereas they have all a disable states.

Disable state = Same Image with grey instead of the original colour.

How can I handle the difference between these two states? 

I tried lot of thing with the similarity but still not distinguish the tow 
states.
Feels like I have been trying everything. Please let me know how to compare the 
images using sikuli.

Here my example:

Token1 = "ButtonEnable.PNG"

while ListRegion.exists(Token1):
    Click(Token1)
esle:
    break


Thank's

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to