Question #252546 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252546
Jonas Maurer proposed the following answer:
use
match = exists(image.png)
if match:
click(match)
this code will search for the image, and if found, click on it's
location immediately without searching
Question #252546 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252546
Status: Open = Answered
Eugene S proposed the following answer:
Hi,
Just 2 comments about the proposed solution:
1. If you are using Sikuli 1.0.1, you might not be able to use
FindFailed exception
New question #252546 on Sikuli:
https://answers.launchpad.net/sikuli/+question/252546
I have a script similar to this
if exists(image.png)
click(image.png)
The issue is that the image im searching for sometimes disappears inbetween
those two lines of code. The script cannot click on it
Question #252546 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252546
Status: Open = Answered
Mark Weisler proposed the following answer:
On Aug 2, 2014, at 5:32 PM, Smizzy wrote:
New question #252546 on Sikuli:
https://answers.launchpad.net/sikuli/+question/252546
Question #252546 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252546
Status: Answered = Open
Smizzy is still having a problem:
Thanks for the fast reply!
How would i incorporate the click(image.png) into that structure?
And would this replace the exists(image.png) ?
--
5 matches
Mail list logo