Re: [Sikuli-driver] [Question #169558]: How can I make this faster?

2011-08-30 Thread Alexandre Bourdeau
Question #169558 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169558 Status: Answered => Solved Alexandre Bourdeau confirmed that the question is solved: Thank you very much. I am still learning this program. Very useful so far. -- You received this question notificatio

Re: [Sikuli-driver] [Question #169558]: How can I make this faster?

2011-08-29 Thread RaiMan
Question #169558 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169558 Status: Open => Answered RaiMan proposed the following answer: -- restricting the search region is most appropriate reg = some-region-that-should-contain-picture while True: if not reg.exists(picture,

[Sikuli-driver] [Question #169558]: How can I make this faster?

2011-08-29 Thread Alexandre Bourdeau
New question #169558 on Sikuli: https://answers.launchpad.net/sikuli/+question/169558 This is some of my code: while True: if not exists(picture, 0): wait(1) hover(getLastMatch()) Everything is working fine except that it is a bit slow. Sometimes it hovers over