Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-14 Thread layanor
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Answered => Solved layanor confirmed that the question is solved: Yes i have pulled a lot of code out of this. I think I have fixed most of the issues with the help I was given :) I am not going

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-14 Thread Manfred Hampl
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Manfred Hampl proposed the following answer: In addition to my previous comment: You are right, the program will loop in the first while block: A break statement will only escape the innermost loop. So the

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-13 Thread Manfred Hampl
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Open => Answered Manfred Hampl proposed the following answer: Your new code will loop forever in lines 13-15 You probably need a "break" inside this loop to continue processing below that part.

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-12 Thread layanor
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Answered => Open layanor is still having a problem: I rearranged the code a bit more but the loop will still not break on the first loop. https://gyazo.com/a5fec13cf88d61ff488821490c7f8b38 --

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-12 Thread Manfred Hampl
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Open => Answered Manfred Hampl proposed the following answer: Your code will only loop i the first "while true:" loop YOu have to put a "break" statement into the first loop. -- You received

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-12 Thread layanor
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Answered => Open layanor is still having a problem: I don't understand. The break is added like you suggested and does not work in this situation. In fact, this is the code you gave to me with

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-11 Thread masuo
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 masuo posted a new comment: @layanor # 3 comment is the last thing I can help. You should Finish making your workflow to using "while" , "for", "if" and other things. -- You received this question

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-10 Thread layanor
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 layanor posted a new comment: Also, I want the code to start again for the beginning after its picked the winner. That way it is completely automated with setting up the matches and declaring winners! --

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-10 Thread layanor
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 layanor posted a new comment: Sorry! I forgot to add the rest of the code. https://gyazo.com/dd9520432ac9fa38ecb958e1ab4b3f33 -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-10 Thread masuo
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 masuo proposed the following answer: There is not "break" in this codes. Add break where you want to go out from while loop. probably after click() . -- You received this question notification because your

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-09 Thread layanor
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 layanor posted a new comment: https://gyazo.com/e0a916124999037281e150a98d4603c5 The code is not seeing either pic. Is there something wrong here? The pic is on the screen for about 4 - 15 seconds. --

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-09 Thread masuo
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Open => Answered masuo proposed the following answer: If either the green image or the magenta image will appear sooner or later, there is a way to wait until it appears. while True:

[Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-09 Thread layanor
New question #655511 on Sikuli: https://answers.launchpad.net/sikuli/+question/655511 Hello! I am starting up a game for my live stream viewers so they can bet points on a fighting game I made. https://gyazo.com/68eddbbdc23c238bcd6828977ddf0f79 Half of the code I have worked and will start