[Sikuli-driver] [Question #682123]: Monitor whether a script is running but frozen for a while

2019-07-17 Thread BOCHENG YIN
New question #682123 on Sikuli: https://answers.launchpad.net/sikuli/+question/682123 I am running sikulix to automate the photo-labeling cross the sample surface on a microscope. The surface is split into many tiles which the sikulix will manipulate to loop through. The whole process is time-c

Re: [Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-11 Thread BOCHENG YIN
Question #679012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679012 Status: Answered => Solved BOCHENG YIN confirmed that the question is solved: It works! Thank you so much! RaiMan. -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-11 Thread BOCHENG YIN
Question #679012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679012 BOCHENG YIN posted a new comment: Hi, RailMan, I just try it. It doesn't work. Let me summarize: [1]if like this: ++ try: runScript("./click.sikuli")

Re: [Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-10 Thread BOCHENG YIN
Question #679012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679012 BOCHENG YIN posted a new comment: Hi, RailMan, I try your code as below: try: runScript("./testClick.sikuli") exit(0) # processed if run ok except: pri

Re: [Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-07 Thread BOCHENG YIN
Question #679012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679012 BOCHENG YIN posted a new comment: I think I get the idea to nest a script inside another script. if the nested script fails, it is possible not to halt the host script, but continue. I create a test code

Re: [Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-07 Thread BOCHENG YIN
Question #679012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679012 BOCHENG YIN posted a new comment: Mike Thanks! This makes sense to use Outlook or Gmail. However, I want to send a message to warn my work is finished or there is a problem that Sikuli crashes. I am

[Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-06 Thread BOCHENG YIN
New question #679012 on Sikuli: https://answers.launchpad.net/sikuli/+question/679012 I am pretty new in sikuli coding. I want to have sikuli 1.1.4 to send a message to my email when the script stops at errors or finishes. That would help me to monitor an automated unattended work coordinated b

Re: [Sikuli-driver] [Question #676000]: masked part is not ignored

2018-11-08 Thread BOCHENG YIN
Question #676000 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676000 Status: Answered => Open BOCHENG YIN is still having a problem: Thanks! On Thu, Nov 8, 2018 at 3:57 PM masuo wrote: > Your question #676000 on Sikuli changed: > https://answers.launchpad.n

Re: [Sikuli-driver] [Question #676000]: masked part is not ignored

2018-11-08 Thread BOCHENG YIN
Question #676000 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676000 Status: Answered => Open BOCHENG YIN is still having a problem: Hi, Masuo, I am confused! I do read the tutorial you pushed before I posted the question. The masked image is the same in total s

Re: [Sikuli-driver] [Question #676000]: masked part is not ignored

2018-11-07 Thread BOCHENG YIN
Question #676000 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676000 Status: Needs information => Open BOCHENG YIN gave more information on the question: my sikulix code: https://drive.google.com/open?id=1Z9I4zJt15Bs-BpLPILRHCU_jzs6EqgrB the test image: ht

[Sikuli-driver] [Question #676000]: masked part is not ignored

2018-11-07 Thread BOCHENG YIN
New question #676000 on Sikuli: https://answers.launchpad.net/sikuli/+question/676000 I try to test if the mask() function will block the masked region in sikulix 1.1.4. What I do is to put a picture in powerpoint and place a black box blocking its center area. Then create a mask pattern with a

Re: [Sikuli-driver] [Question #675308]: Runtime error 91 from ZEN macro by using sikulix

2018-10-18 Thread BOCHENG YIN
Question #675308 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675308 BOCHENG YIN posted a new comment: Dear RailMan, I opened a thread at StackOverflow. https://stackoverflow.com/questions/52863976/sikulix-triggers-runtime-error-91-of-a-vba-analog-macro I think it may

Re: [Sikuli-driver] [Question #675308]: Runtime error 91 from ZEN macro by using sikulix

2018-10-18 Thread BOCHENG YIN
Question #675308 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675308 BOCHENG YIN posted a new comment: Dear RailMan, Sorry for this confusion. You are right. Sikuli cannot generate the error. The error comes out from the macro. However, the macro works fine alone but fails

[Sikuli-driver] [Question #675308]: Runtime error 91 from ZEN macro by using sikulix

2018-10-17 Thread BOCHENG YIN
New question #675308 on Sikuli: https://answers.launchpad.net/sikuli/+question/675308 I am using sikulix 1.1.4. to automate a job on our Windows desktop. It kinds of triggers the error " runtime error 91, Object variable or With block variable not set" when it runs into the ZEN black macro, a m