← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #233079]: Python and Sikuli - Selecting from a list (multiple)

 

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

    Status: Open => Solved

Dave Collins confirmed that the question is solved:
imageFiles = ["one.png", "two.png", "three,png"]

for imageFile in imageFiles:
  if exists(imageFile):
    click(imageFile)

click("go.png")

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