← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #664345]: CPU usage going through the roof when running script

 

Question #664345 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664345

David Bachschmid posted a new comment:
Ok ty. I will adjust everything now.
However, I still do not get how to implement the neccessary lines for scanrate reduction.

This is how it is displayed on the features site:

def myHandler(e):
        print "it happened"
# you may wish to save the actual settings before
Settings.ObserveScanRate = 0.2
onAppear(some_image, myHandler)
observe(FOREVER, background = True)
# the observer will look every 5 seconds ;-)

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