sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07831
[Question #183431]: onChange runs without happening any change
New question #183431 on Sikuli:
https://answers.launchpad.net/sikuli/+question/183431
When i run "caller.sikuli" (see below), the doubleClick("firefoxIcon") in doubleClicker.sikuli (see below) doubleclicks without pause after a change happens in Region(761,14,605,422). I just want the "firefoxIcon" to be doubleClicked *once* for *one* change, but i don't find the way.
caller.sikuli
def caller():
import doubleClicker
doubleClicker.A()
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
doubleClicker.sikuli
def pop(event):
doubleClick("firefoxIcon")
wait(2)
def A():
reg =Region(761,14,605,422)
reg.onChange(1, pop)
reg.observe(20)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.