Re: [Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2024-03-17 Thread Steve
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 =

Re: [Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2013-06-02 Thread Mark Weisler
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

Re: [Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2013-06-02 Thread Greg83140
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

Re: [Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2013-06-01 Thread Greg83140
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

Re: [Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2013-05-31 Thread Greg83140
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.

[Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2013-05-29 Thread Greg83140
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

Re: [Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2013-05-29 Thread j
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

Re: [Sikuli-driver] [Question #229825]: do an action if the image on a region doesn't change

2013-05-29 Thread Greg83140
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