Re: [Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2017-11-01 Thread RaiMan
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 RaiMan proposed the following answer: ... of course you might check the should-end-condition at various other places inside the loop and use if someConditionIsTrue(): break # which jumps out of the loop --

Re: [Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2017-11-01 Thread RaiMan
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 RaiMan proposed the following answer: WARNING: Do not use the solution in comment #5, since it has the risk of running into a stack overflow, since test2 and test3 are calling each other without terminating

Re: [Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2017-11-01 Thread Vit
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 Vit proposed the following answer: 1) Save 3 files in the same folder (for example: test1.sikuli, test2.sikuli, test3.sikuli) 2) #test1.sikuli code: import test2 import test3 test2.script() 3)

Re: [Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2016-11-18 Thread shelby
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 shelby proposed the following answer: Edit: Sleep(5000) While True If WinActive("[CLASS:SunAwtFrame]") Then ; Check if Notepad is currently active. ;Sikuli is Active (error)

Re: [Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2016-11-18 Thread shelby
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 shelby proposed the following answer: Here is a solution I came up with using AutoIt Script (free). Run this script before beginning Sikuli's script. Sleep(5000) While True If

Re: [Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2014-12-02 Thread Shafiq Khan
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 Shafiq Khan posted a new comment: I tried using a loop in batch script. It didn't work since batch executes linearly. It waits for the sikuli script to finish. But my sikuli script is on an infinite loop.

[Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2014-11-28 Thread Shafiq Khan
New question #258380 on Sikuli: https://answers.launchpad.net/sikuli/+question/258380 exit([value]) stops the script. Is there any way to restart the script after stopping? The only way I can think of is to run another script that looks for the Play button. -- You received this question

Re: [Sikuli-driver] [Question #258380]: Any way to restart Sikuli script execution?

2014-11-28 Thread RaiMan
Question #258380 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258380 Status: Open = Answered RaiMan proposed the following answer: You either have to run your scripts from command line and setup appropriate command scripts or organize your scripts as modules with def