← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #256102]: Looping entire Script X times, also repeats specific line action x times

 

Question #256102 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256102

    Status: Open => Needs information

RaiMan requested more information:
--1 counting loops are easier this way

for i in range(4):
    type("A")
    type(Key.ENTER)

But be aware, I starts with 0 and stops being 3
so a print i after the loop will print 3

-- your example:
let us use /n for a return/enter.
This is what your loop does:
A/n
A/n
A/n
A/n

where each line will be the next Excel cell below.

So try again to explain, what you want to achieve using this, since your
description is not clear.

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.