[Sikuli-driver] [Question #204826]: Possible to do exists with a list of items?

2012-08-02 Thread Andrew Munro
New question #204826 on Sikuli: https://answers.launchpad.net/sikuli/+question/204826 I have an issue where there is a choice of different objects that can come up on the screen. Sikuli needs to check if any of them come up, and click on them. At the moment I am doing an if statement to check

Re: [Sikuli-driver] [Question #204826]: Possible to do exists with a list of items?

2012-08-02 Thread RaiMan
Question #204826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204826 Status: Open = Answered RaiMan proposed the following answer: Currently, there is not Sikuli feature to accomplish that. So make your own def: def clickFromList(images, reg = SCREEN): for img in

Re: [Sikuli-driver] [Question #204826]: Possible to do exists with a list of items?

2012-08-02 Thread Andrew Munro
Question #204826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204826 Andrew Munro confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

Re: [Sikuli-driver] [Question #204826]: Possible to do exists with a list of items?

2012-08-02 Thread Andrew Munro
Question #204826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204826 Status: Answered = Solved Andrew Munro confirmed that the question is solved: Thanks RaiMan. I will try some experimentation with threading and report back if I find a better solution. As we are