← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269664]: Sikuli loop with python

 

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

    Status: Open => Needs information

Cameron Jones requested more information:
Are A and B both lists with 3 elements? If A and B always have an equal
number of elements then you could do:

for i in range(0:len(A)):
    try:
        .
        type(A[i])
        type(B[i])
        .
    except FindFailed:
        type(Key.F5)

However in your example, A has 3 elements, and I have to assume B has
one element, since it isn't separated by commas, but instead is
connected by a series of decimal points.

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