Redirect to Beginning of Loop / Different Line
Asked by
Dylan McCarthy
We're working on a project designed to go to a website, download a text file, import it into Excel, and save it, then loop and do the same thing again, for a different search criteria.
Question: Is it possible to have a 'if find ():' method, and when that specific 'if find' is completed, Sikuli will start over at the beginning of the code?
Example:
-----
setThrowExcepti
while not find (IMAGE):
RANDOM STUFF HERE
if find (IMAGE):
click(IMAGE)
**START OVER AT BEGINNING OF CODE**
exit()
-----
Any and all help is greatly appreciated.
Thanks,
-dwmcc
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Dylan McCarthy
- Solved:
- Last query:
- Last reply:
To post a message you must log in.