sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06619
Re: [Question #177654]: Stop a loop
Question #177654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177654
Status: Open => Needs information
RaiMan requested more information:
--- what should this do?
for i in ".jpg" ".jpeg":
in the first step, the 2 strings are concatenated to the string
".jpg.jpeg". This string is then looped through character wise giving
the next character to i, which is not used in the loop.
the loop is run 9 times (the number of characters in the string
".jpg.jpeg".
So what is your idea behind this loop construct?
--- what is your general intention?
geeqie seems to be an image viewer for Linux/Ubuntu.
If it shows up like other image viewers, then there are some thumbnails shown in the window's content having some declarative text and/or some checkboxes or other fields around.
So it might be your intention, to visit all thumbnails that meet a
specific condition one after another.
A general template in meta language:
r = region that contains the thumbnails
matches = r.findAll(<image or text to identify the images wanted>)
for m in matches:
# do something with every match
So please give more information. A screenshot is always helpful for such
situations (not attachable here, put it somewhere in the net) or see it
to me at https://launchpad.net/~raimund-hocke
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.