Loop script won't work
Asked by
Mike
Hi all,
I am trying to loop a script, here is my script. Please help me and tell me what i am doing wrong. Still Learning!!!
# --- this loops as long as img is visible
if exists(this image is for it to repeat loop), 0):
click getLastMatch()
if exists(this image is for it to brack loop and continue ):
continue # skip the rest and start next turn
popup("Under ATTACK!")
But i get this error coming up:
[error] Stopped [error] An error occurs at line 61 [error] Error message: SyntaxError: ("mismatched input ',' expecting COLON", ('C:\\Users\
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Mike
To post a message you must log in.