Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread RaiMan
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 RaiMan posted a new comment: You have to fully understand, how SikuliX internally works. This might be helpful: https://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Lisa Howells posted a new comment: RaiMan thank you so much I had been trying to get this to work for a while! I have one last question. Why does Masou's 3 line script example not work and it terminates and t

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Status: Open => Solved Lisa Howells confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answ

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Status: Answered => Open Lisa Howells is still having a problem: Tried your exact 3 line script. I ran it 4 times, it did the same thing all 4 times, the program clicks the button (then the button goes a

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread RaiMan
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 RaiMan proposed the following answer: while True: If has(Image): click() # clicks last match waitVanish(Image) wait(1) This will forever click the image when it comes up and then wai

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread masuo
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Status: Open => Answered masuo proposed the following answer: try this. while has(randomButtonImage): click(randomButtonImage) sleep(1) -- You received this question notification because your

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Status: Needs information => Open Lisa Howells gave more information on the question: [error] Error caused by: Traceback (most recent call last): File "C:\Users\Lisa\Documents.sikuli\ClickButton.py", li

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread masuo
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Status: Open => Needs information masuo requested more information: Are there FindFaile error messages? -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread masuo
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 masuo requested more information: Are there FindFaile error messages? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. __

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Status: Answered => Open Lisa Howells is still having a problem: but why does it say findfailed when I'm using while has(image) as soon as the image goes away? I want it to keep searching for the image

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread masuo
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Status: Open => Answered masuo proposed the following answer: As a standard behavior Sikuli internally processes about 3 search operations per second. So if "image.png" has existed before about 300 mils

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Description changed to: I'm trying to make something simple for a game macro. sometimes a button randomly appears in intervals between 5 and 500 seconds. I want it to detect and click the button within 10 sec

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Description changed to: I'm trying to make something simple for a game macro. sometimes a button randomly appears in intervals between 5 and 500 seconds. I want it to detect and click the button within 10 sec

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Description changed to: I'm trying to make something simple for a game macro. sometimes a button randomly appears in intervals between 5 and 500 seconds. I want it to detect and click the button within 10 sec

Re: [Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
Question #678325 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678325 Description changed to: I'm trying to make something simple for a game. sometimes a button randomly appears in intervals between 5 and 500 seconds. I want it to detect and click the button within 10 seconds,

[Sikuli-driver] [Question #678325]: If it Can't Find, Closes Early

2019-02-04 Thread Lisa Howells
New question #678325 on Sikuli: https://answers.launchpad.net/sikuli/+question/678325 I'm trying to make something simple for a game. sometimes a button randomly appears in intervals between 5 and 500 seconds. I want it to detect and click the button within 10 seconds, but to not click if the bu