[Sikuli-driver] [Question #209885]: leaving a condition

2012-09-28 Thread felipe cavalcante
New question #209885 on Sikuli: https://answers.launchpad.net/sikuli/+question/209885 hi, am beginner, and I'm having difficulty in this, after entering "while wewait" I can not go back to "while true". really want to make an infinite sequence continues with this script. I think in "if not (md1

Re: [Sikuli-driver] [Question #209885]: leaving a condition

2012-09-29 Thread RaiMan
Question #209885 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209885 Status: Open => Answered RaiMan proposed the following answer: Sikuli talks Python language, so the script must follow the syntax needed for Sikuli scripts. One major point is indentation to identify bl

Re: [Sikuli-driver] [Question #209885]: leaving a condition

2012-09-29 Thread RaiMan
Question #209885 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/209885 RaiMan posted a new comment: BTW: since I do not know the logical workflow behind your script, this might not be what you intend, but it shows the principles. --- getLastMatch() it just recalls the last matc