Re: [Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-02 Thread RaiMan
Question #246342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246342 Status: Open = Answered RaiMan proposed the following answer: ok, now you are stuck with the observe bugs in 1.0.1 observe in background (observe(time, True)) simply puts the observe in a thread and

Re: [Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-02 Thread RaiMan
Question #246342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246342 RaiMan proposed the following answer: One more thing: the Python based threading solution above will terminate all running threads automatically at script end even in IDE, so it can safely be rerun. 1.1.0

Re: [Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-02 Thread alceal
Question #246342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246342 Status: Answered = Solved alceal confirmed that the question is solved: Thank you very much Raiman for your answers and explications. I'm waiting for 1.1.0 with excitement. -- You received this

[Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-01 Thread alceal
New question #246342 on Sikuli: https://answers.launchpad.net/sikuli/+question/246342 Hello everyone. I've discovered this fantastic tool 3 weeks ago and I'm testing it on Windows 8.1 and OSX 10.7.5. I could have used almost every function but onAppear/observe. I've followed a few examples I've

Re: [Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-01 Thread alceal
Question #246342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246342 alceal gave more information on the question: To be accurate: when I run the script it does but comes back to sikuli IDE immediately. I've just changed observe for this one: region_error.observe(30,

Re: [Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-01 Thread RaiMan
Question #246342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246342 Status: Open = Answered RaiMan proposed the following answer: this works as it should: def handler(e): print in handler e.match.highlight(2) reg = Region(0,0,300,300) reg.highlight(2) img =

Re: [Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-01 Thread alceal
Question #246342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246342 alceal gave more information on the question: I've done a new script that when a notepad window appears sikuli clicks on File. I've realized two things: - that it only works if stopObserver is at the end of

Re: [Sikuli-driver] [Question #246342]: Do onAppear and observe work? [1.0.1]

2014-04-01 Thread alceal
Question #246342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246342 Status: Answered = Open alceal is still having a problem: Thank you Raiman. I've just used your script and it works pefectly. I've tried my script again and it only works if I add wait(x). I thought