Go to line in script
I have a very basic understanding so please take that into account if you can help :)
I have this code:
if exists(
type(
else:
click(
click(Pattern(
wait(Pattern(
click(Pattern(
type("w",KEY_CTRL)
What i would like it to do is go back to line 1 or 2 or 3 etc of my code so that the script repeats itself and then goes in a cycle.
For example...
if exists(
type(
GO TO LINE 1 OF SCRIPT
else:
click(
click(Pattern(
wait(Pattern(
click(Pattern(
type("w",KEY_CTRL)
GO TO LINE 2 OF SCRIPT
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ben for more information if necessary.