How to create a loop with certain amount of loops?

Asked by SD

How can I go about creating a loop with a specific amount of loops?

Also where in the sikuli program would the loop go?

I ran into in issue with sikuli, where after about 1700 lines, sikuli did not want to run, is that typical?


Question information

English Edit question
SikuliX Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :

Python knowledge - you have to learn some basics, if you want to go into more complex scenarios.

loop: for i in range(howMany):

Be sure you know about Python's indentation rules.

--- about your script of 1700 lines:
There is a max file size of a script in terms of bytes, that might be reached in your case.
solution: split your script into parts and use the import or runScript feature.

Can you help with this problem?

Provide an answer of your own, or ask SD for more information if necessary.

To post a message you must log in.