Question #229825 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/229825
Steve posted a new comment:
Very old question but it was a top search result for this question.
This can be solved in a much simpler way with:
def CheckForChange(checkRegion,sleepTime):
cap =
Question #229825 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229825
Mark Weisler posted a new comment:
The following working code might help you...
# script: RegionAreaTest6, 01 June 2013
# Related to [Question #229825]: do an action if the image on a region doesn't
Question #229825 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229825
Status: Open = Solved
Greg83140 confirmed that the question is solved:
Thank you, I tested your code it works well !
Have a nice sunday
--
You received this question notification because you are a
Question #229825 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229825
Greg83140 gave more information on the question:
I tried this code :
reg = myRegion
def pp(event):
global toto
toto = change
printchange
def fff():
toto = notChange
print do my action
Question #229825 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229825
Greg83140 posted a new comment:
Nobody ??
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
New question #229825 on Sikuli:
https://answers.launchpad.net/sikuli/+question/229825
Hello,
i have a problem to do an automatic test on the sceen.
Here is my problem :
I would like to see if after an action, the image on a specific region has
changed. I now how to do that with :
if
Question #229825 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229825
Status: Open = Answered
j proposed the following answer:
you can use the onChange listener to do this, if you don't know how your
image looks like:
def handler(event):
print the region
Question #229825 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229825
Status: Answered = Open
Greg83140 is still having a problem:
Thanks for your answer...But the fact is that I would do an action only if the
region not change.
Is exists an onNotChange method ??
Could
8 matches
Mail list logo