Re: [Sikuli-driver] [Question #645942]: "while (count < 10):" loop doesn't seem to be working

2017-07-03 Thread arminius
Question #645942 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645942 Status: Answered => Solved arminius confirmed that the question is solved: thanks, forgot to put a "count = 1" just before it. -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #645942]: "while (count < 10):" loop doesn't seem to be working

2017-07-03 Thread Manfred Hampl
Question #645942 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645942 Manfred Hampl proposed the following answer: Another potential pitfall: what is the value of count before the loop? If you re-use a counter from a previous loop, it might already be > 10 -- You received

Re: [Sikuli-driver] [Question #645942]: "while (count < 10):" loop doesn't seem to be working

2017-07-02 Thread masuo
Question #645942 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645942 Status: Open => Answered masuo proposed the following answer: In the article "Controlling Sikuli Scripts and their Behavior", there is an explanation about situations where the operation is not

[Sikuli-driver] [Question #645942]: "while (count < 10):" loop doesn't seem to be working

2017-07-02 Thread arminius
New question #645942 on Sikuli: https://answers.launchpad.net/sikuli/+question/645942 I have this other code "while (count < 46): click(Pattern("1486584943427.png").similar(0.69).targetOffset(-340,86)) count = count + 1" and it works fine. I tried to turn that into this