← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #248290]: Recursive Processing of a List

 

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

    Status: Answered => Open

Joe Murphy is still having a problem:
Eugene S, thanks so much for the reply!

You have correctly read through my muddy description and understood it
correctly!  :)

I want to try your code, as it seems that it's very close to what I
need.  The one thing that is different is that all the text boxes will
be different.  Here's the whole scenario:

I've got a piece of software that's used in the Postal Industry.  I need
to print out a large number of 3 different reports, but the way software
works, I have to manually enter the query name into each of three
different pop-up boxes that appear during the processing.

Manually, it would require me to initiate the report process and then,
as the boxes pop up, enter the same data in each and click "OK".  When
that report finishes, I have to re-initiate the report process and enter
the next query name in each box as it pops up and click "OK".  And
again, and again, and again... ad nausuem.

SO.... I figured I'd go through the process one time, taking images of
each of the slightly different pop-ups.  Then have Sikuli do the work of
initiating the process, entering the data in the pop ups (and clicking
"OK" to each), and then re-initiating for the next report.  I know I can
get the rest of it working easily with just the basic Sikuli IDE
buttons, but am was lost when it came to creating a list of variables
and having Sikuli work through them recursively.

I see how your example would work if I had a static set boxes all at
once, but I've got to do one, then wait for the next and paste (or type)
in that one and wait again.

Thoughts?  And THANKS!

Joe

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