selecting the next image in line
I am pretty new to SIKULI, so this issue might be pretty easy to figure out, I hope.
I am having an issue with getting my script to correctly select the next image on the screen. I have a series of graphics in a Illustrator document and I want SIKULI to cycle thru and select each one in order from left to right and give each one a unique file name. The file naming is not an issue just the image selection. My code is below. Thank You.
x=0
percent=00.0
image=Pattern(
while x <1000:
print
switchApp(
type("v")
<!--This while loop is the problem area-->
while x <1000:
break
click(
click(
click(
click(
click(
click(
click(
click(
click(
type("\r")
click(
click(
while x < 1000:
percent+=.1
x+=1
break
click(
click("OK.png")
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Justin May
- Solved:
- Last query:
- Last reply: