← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #206657]: Wait for image A or B or C forever, then take action accordingly

 

Question #206657 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/206657

    Status: Solved => Open

denywinarto is still having a problem:
Sorry to open up this thread again RaiMan,
But apparently that method only loop the encaged area:

i.e:

def startProgram():
 do x
 do y
 do z
startProgram()
While true
 do abc
 etc

Calling startProgram() anywhere in the codes after that only repeat the code:
 do x
 do y
 do z

The code after that is skipped,
So it does not really replay the entire script.. 
is there anyway to include it?
Changing the startProgram() to the end point (end of replay) wont work, i.e:

def startProgram():
 do x
 do y
 do z
While true
 do abc
 etc
 startProgram()

Is there anyway to make it really replay the entire script?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.