← Back to team overview

sikuli-driver team mailing list archive

[Question #690264]: observe - onChange not working for me!

 

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

Hello everyone!

Im trying to do observe - onChange to a region but nothing happens.
Im looking for changes in a game that really changes, but not detected by sikuli.
Im using sikuli 1.1.4 and jython 2.7.1.
SO is Windows 10.

What Im missing???

########################

This is my code:

def changed():
    r.highlightOn()
    wait(FOREVER)
    
while True:
    r = (Region(440,175,510,390))
    r.onChange(50,changed)
    r.observe(10,background=False)
    r.stopObserver()

#######################

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.