Re: [Sikuli-driver] [Question #676844]: if error or cant finde image run last instruction

2018-12-17 Thread yazid amine
Question #676844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676844 Status: Answered => Open yazid amine is still having a problem: Ty sir bat this solution is only for 7.png and 6.png I want solution for all the scripts (2000 lines) if didn't find any pic (on any line

Re: [Sikuli-driver] [Question #676846]: i have problem when i try to run my script

2018-12-17 Thread yazid amine
Question #676846 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676846 Status: Answered => Solved yazid amine confirmed that the question is solved: ty sir -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

[Sikuli-driver] [Bug 1808849] Re: Problems with isRunning() and App.focus() on Mac in 12-14 build

2018-12-17 Thread RaiMan
please paste the sample code -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1808849 Title: Problems with isRunning() and App.focus() on Mac in 12-14 build Status in Sikuli: New Bug

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread ONG YI CHONG
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 ONG YI CHONG posted a new comment: After adding a print before match = r.find() and a print after, it seems that the handler function exits at the match statement because the print before match =

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread ONG YI CHONG
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 ONG YI CHONG posted a new comment: What i wanted to do was every time the region changes in pixel, indicating a change in screen page, the handler code would run and compare with the previous screenshots

[Sikuli-driver] [Bug 1808849] Re: Problems with isRunning() and App.focus() on Mac in 12-14 build

2018-12-17 Thread Chris Kosieracki
App.open() is not working either. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1808849 Title: Problems with isRunning() and App.focus() on Mac in 12-14 build Status in Sikuli: New Bug

[Sikuli-driver] [Bug 1808849] [NEW] Problems with isRunning() and App.focus() on Mac in 12-14 build

2018-12-17 Thread Chris Kosieracki
Public bug reported: Running 1.1.4 12-14-2018 build on Mac OS Mojave 10.14.2 It appears that isRunning() is having a problem on my Mac. When the app being tested is not running, then the isRunning() command returns False in a couple of seconds. When the app being test is running, then the

Re: [Sikuli-driver] [Question #676844]: if error or cant finde image run last instruction

2018-12-17 Thread Jitendra patel
Question #676844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676844 Status: Open => Answered Jitendra patel proposed the following answer: I think this is what you want if i understand correctly this will click 6.png once if 7.png doesnt exsits it will click 6.png

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread RaiMan
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 RaiMan proposed the following answer: Your problem: I am sorry, but I do not understand your logic, since I do not know you intention. To come out of the trap, you have to design each step and make it

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread RaiMan
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 Status: Needs information => Answered RaiMan proposed the following answer: A general comment (I think I already mentioned before): print is a statement and not a function, so the list of items to be

Re: [Sikuli-driver] [Question #676846]: i have problem when i try to run my script

2018-12-17 Thread RaiMan
Question #676846 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676846 RaiMan proposed the following answer: SikuliX version? recommended 1.1.4 (http://sikulix.com) you have to split the script into parts and run the parts using the runscript feature:

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread ONG YI CHONG
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 ONG YI CHONG posted a new comment: It seems like the handler code was cut off because the observation timed out or something -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #676846]: i have problem when i try to run my script

2018-12-17 Thread RaiMan
Question #676846 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676846 RaiMan posted a new comment: @Mike: thanks ;-) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread ONG YI CHONG
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 ONG YI CHONG posted a new comment: Also another one of my unsuccessful attempts. [debug] Region: observe: starting in R[18,101 269x431]@S(0) for 0.2 seconds [debug] Observer: resetting observe states for

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread ONG YI CHONG
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 ONG YI CHONG posted a new comment: 1) The observe and click is not called within a try catch 2) for print(found), True cases are missing. I have not seen a false case which causes a crash. However, some

Re: [Sikuli-driver] [Question #676846]: i have problem when i try to run my script

2018-12-17 Thread Mike
Question #676846 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676846 Mike posted a new comment: runscript feature ;) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #676846]: i have problem when i try to run my script

2018-12-17 Thread RaiMan
Question #676846 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676846 Status: Open => Answered RaiMan proposed the following answer: SikuliX version? recommended 1.1.4 (http://sikulix.com) you have to split the script into parts and run the parts using the unscript

Re: [Sikuli-driver] [Question #676778]: Looping through list of elements and finind expected text with OCR

2018-12-17 Thread Rares Pasca
Question #676778 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676778 Rares Pasca posted a new comment: This is my solution for this, i hope it will work on you aswell. Here are the elements passed to the method: myRegion = your region where you want to scroll

[Sikuli-driver] [Question #676846]: i have problem when i try to run my script

2018-12-17 Thread yazid amine
New question #676846 on Sikuli: https://answers.launchpad.net/sikuli/+question/676846 i have problem when i try to rur my script script more than 2500 lignes can some one help me pls error message [error] script [ resetbot+lvl ] stopped with error at line --unknown-- [error] Error caused by:

[Sikuli-driver] [Question #676844]: if error or cant finde image run last instruction

2018-12-17 Thread yazid amine
New question #676844 on Sikuli: https://answers.launchpad.net/sikuli/+question/676844 please can some one tel me haw to do def run last instruction() run ligne6 # 'click (6.png)' the last instruction after 'click (7.png)' in this example goto: 1 or execute line

Re: [Sikuli-driver] [Question #676840]: Inconsistent behaviour of SIkuli code run

2018-12-17 Thread RaiMan
Question #676840 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676840 Status: Open => Needs information RaiMan requested more information: Yes, if the handler is entered, it should run to the end and should either print True or False, WhY and path. Is the