Question #181852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181852
Status: Open = Answered
surfdork proposed the following answer:
Try a while loop include an image within the click() or exists or
whatever action you want to perform.
Also I don't see any wait
Question #181852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181852
Status: Solved = Open
RaiMan changed the question status:
send me your .sikuli as zipped file to my mail at https://launchpad.net
/~raimund-hocke
--
You received this question notification because you
Question #181852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181852
Status: Answered = Solved
KRP confirmed that the question is solved:
Hi Calle thanks for the reply,
but the problem here is after the If condition the loop is not running,
means the loop ends after
New question #181852 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181852
When used the if construct inside for loop getting the below error
no viable alternative at input 'if'
for entry in myListFixed:
while exists(Pattern(1322634310829.png).similar(0.90).targetOffset(-2,1),
Question #181852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181852
Status: Open = Answered
Mikeldi Latorre proposed the following answer:
why don't you try to program in more than one line??? You'll have you
code much more legible:
for entry in myListFixed:
while
Question #181852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181852
Calle Rundgren proposed the following answer:
You need to indent the code inside the if-statement.
Example:
if exists(img1.png)
click(img1.png)
This is the proper way to use if-statements in python.
6 matches
Mail list logo