<div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br>Date: Fri, 18 Feb 2011 12:32:28 -0800<br>From: reckoner <<a href="mailto:reckoner@gmail.com">reckoner@gmail.com</a>><br>To: Python-Win32 List <<a href="mailto:python-win32@python.org">python-win32@python.org</a>><br>
Subject: [python-win32] Automation triggered based on image in window?<br>Message-ID: <<a href="mailto:4D5ED75C.4030104@gmail.com">4D5ED75C.4030104@gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>I'm trying to do some automation using Python and pywin. Is there a way<br>to trigger when a particular image is shown?<br><br>In other words, I am trying to get the functionality that is described here:<br><br> <a href="http://www.vtaskstudio.com/images/screenshot_recognition.png" target="_blank">http://www.vtaskstudio.com/images/screenshot_recognition.png</a><br>
<br>and likewise here:<br><br> <a href="http://www.autohotkey.com/docs/commands/ImageSearch.htm" target="_blank">http://www.autohotkey.com/docs/commands/ImageSearch.htm</a><br><br>using Python tools.<br><br>Anybody know anything like this?<br>
<br><br></blockquote><div>Take a look at Sikuli.</div><div><a href="http://groups.csail.mit.edu/uid/sikuli/download.shtml">http://groups.csail.mit.edu/uid/sikuli/download.shtml</a></div><div><br></div><div>It's not pure python it requires the JVM, and is still in its early stages. But it does provide image recognition based events.</div>
<div>It's quite an ambitious project, but I think it still is a bit cumbersome to use.</div><div> </div></div>