Is it possible to get the image position, as well as a success criteria from ImageFound, using “the result” or some other routine?
Not sure which success criteria you mean, but you can get the location of an image by using the FoundImageLocation() function or the ImageLocation(“someimage”) function. You can also get all of the search settings by calling the ImageInfo(“someImage”) function.
You could do that for instance with using something like
if ImageFound(imagename) then
log “Found Image '” & FoundImageInfo()‘s imageName & "’ at location" && FoundImageLocation()
That’s exactly what I’m looking for. Thanks Guys.
Can FoundImageXXX be used with “WaitFor” as well?
To answer your followup question – yes FoundImageLocation (et.all) will return the last image that was found. This includes the WaitFor command.