Function Reference

_FFImagesGetBySize

Returns an array with the index of matching images.

#Include <FF.au3>
_FFImagesGetBySize($iHeight, $iWidth[, $sMode = "eq"[, $iPercent = 0]])

 

Parameters

$iHeight Height of the image.
$iWidth Width of the image.
$sMode
Optional: Search mode
eq= (Default) Images correspond to the specified dimensions.
gt= Images are larger than the specified dimensions.
lt= Images are smaller than the specified dimensions.
$iPercent Search-tolerance in percent.
eq +/- percent
lt => lt - percent
gt =< gt + percent

 

Return Value

Success: Returns array[0] > 0
Failure: Returns array[0] = 0 and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
3 ($_FF_ERROR_InvalidDataType)
4 ($_FF_ERROR_InvalidValue)
8 ($_FF_ERROR_NoMatch)

 

Remarks



 

Related

 

Example