Returns the length of the elements in $sMode
#Include <FF.au3>
_FFGetLength([$sMode = "links"])
Parameters
$sMode |
|
Return Value
Success: | Returns number of all objects |
Failure: | Returns 0 and sets @ERROR |
@ERROR: |
0 ($_FF_ERROR_Success) 8 ($_FF_ERROR_NoMatch) |
Remarks
Example
#Include <FF.au3> Global $sMsg = "", $aTmp Global $aElements[12] = ["links", "images", "forms", "frames", "anchors", _ "styleSheets", "tabs", "history", "applets", "embeds", "plugins", "br"] _FFConnect() If _FFIsConnected() Then For $i = 0 To UBound($aElements)-1 $sTmp = _FFGetLength($aElements[$i]) If Not @error Then $sMsg &= $aElements[$i] & ": " & $sTmp & @crlf EndIf Next MsgBox(64,"Found:",$sMsg) EndIf