 <p>After reading a little of the Sikuli docs, I think this <em>might</em> also do what you want.</p> <pre><code>for impath in ("image/one.png", "image/two.png", "image/three.png"): match = exists(impath) if match: click(match.getTarget()) </code></pre>