Re: [Sikuli-driver] [Question #675931]: SikuliX script run on none active window

2018-11-06 Thread Nick Kho
Question #675931 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675931 Status: Answered => Solved Nick Kho confirmed that the question is solved: Yeh and I use the app.focus() function. The app I'll manually open it and let it run while I multitask and do something else.

Re: [Sikuli-driver] [Question #675972]: How to wait for Text field while page loading and type text when field is active.

2018-11-06 Thread monicar
Question #675972 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675972 Summary changed to: How to wait for Text field while page loading and type text when field is active. -- You received this question notification because your team Sikuli Drivers is an answer contact for

[Sikuli-driver] [Question #675972]: How to wait for Text field while page loading and type text when field id active.

2018-11-06 Thread monicar
New question #675972 on Sikuli: https://answers.launchpad.net/sikuli/+question/675972 Is there any alternative to Thread.sleep in sikuli on page loading public static void searchCreateNewDonor(String searchDonorText, Screen screen, Pattern searchDonor, Pattern select_CreateDonor) {

Re: [Sikuli-driver] [Question #675958]: How to implement a watchdog timer?

2018-11-06 Thread matteoa
Question #675958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675958 matteoa posted a new comment: Thanks a lot Masuo! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #675958]: How to implement a watchdog timer?

2018-11-06 Thread matteoa
Question #675958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675958 Status: Answered => Solved matteoa confirmed that the question is solved: Thanks masuo, that solved my question. -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #675958]: How to implement a watchdog timer?

2018-11-06 Thread masuo
Question #675958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675958 masuo posted a new comment: This is one of ideas for watchdog, please modify codes as what you want to do. -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #675958]: How to implement a watchdog timer?

2018-11-06 Thread masuo
Question #675958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675958 Status: Open => Answered masuo proposed the following answer: This script run continuously, if main script do not delay. import thread duration = 10 #-count down and type hotkey def

Re: [Sikuli-driver] [Question #675958]: How to implement a watchdog timer?

2018-11-06 Thread matteoa
Question #675958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675958 Status: Answered => Open matteoa is still having a problem: Hello Masuo, thanks a lot for helping. I tried to copy and paste your script directly in the 1.1.4 ide and run from there. It closes the ide,

Re: [Sikuli-driver] [Question #675958]: How to implement a watchdog timer?

2018-11-06 Thread masuo
Question #675958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675958 Status: Open => Answered masuo proposed the following answer: This is a way to use hotkey handler. import thread #-count down and type hotkey def Type_Hotkey(name,*args): cnt = args[0]

[Sikuli-driver] [Question #675958]: How to implement a watchdog timer?

2018-11-06 Thread matteoa
New question #675958 on Sikuli: https://answers.launchpad.net/sikuli/+question/675958 hello all, I have a Sikulix script that automate a sw that sometimes hangs or behave in unusual ways. So far the script sometimes waits for the appearance of an image and if the image doesn't appears it