New question #662733 on Sikuli:
https://answers.launchpad.net/sikuli/+question/662733
I have a script
###
def test(event):
Settings.reg.mouseMove(event.match)
mouseDown(Button.MIDDLE)
mouseUp(Button.MIDDLE)
event.stopObserver()
def test1(event):
Settings.reg = Region(0,
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
Description changed to:
windows 10, windows 7
sikuli 1.1.1 build 2017-03-29_10:41
I have a script
###
def test(event):
Settings.reg.mouseMove(event.match)
mouseDown(Button.MIDDLE)
mouseUp(Button
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
Description changed to:
windows 10, windows 7
sikuli 1.1.1 build 2017-03-29_10:41
I have a script
###
def test(event):
Settings.reg.mouseMove(event.match)
mouseDown(Button.MIDDLE)
mouseUp(Button
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
Status: Open => Answered
RaiMan proposed the following answer:
In your main code just issue a
Settings.reg.stopObserver()
for every region you want to stop its observing.
--
You received this questio
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
Status: Answered => Open
juan is still having a problem:
thanks for response.
I tried with that line before asking ... but it does not stop observing
if I use the line event.stopObserver () inside the d
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
Status: Open => Answered
RaiMan proposed the following answer:
ok, I will check as soon as possible.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
juan posted a new comment:
thanks for your time.
I'm going to try another pc to get rid of the doubt.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sik
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
RaiMan proposed the following answer:
tested with 1.1.2.
this works:
img = "img.png"
def handler(event):
event.stopObserver()
onAppear(img, handler)
SCREEN.observeInBackground(FOREVER)
while True:
wa
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
Status: Answered => Solved
juan confirmed that the question is solved:
### example
def test(event):
SCREEN.mouseMove(event.match)
SCREEN.onAppear("1515531321687.png",test)
SCREEN.observeInBackground(
Question #662733 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662733
juan confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
10 matches
Mail list logo