Function Reference

_FFObjGet

Returns an object (string to use with the other _FFObj* functions)

#Include <FF.au3>
_FFObjGet($sElement[, $sMode = "id"[, $iIndex = 0]])

 

Parameters

$sElement Element
$sMode
Optional: Selection mode
id= ID of the element
name= name of the element
class= class of the element
tag= tag-name of the element
$iIndex Index (0-n) of the element name, class or tag
0 = (Default)

 

Return Value

Success: Returns object (String!)
Failure empty string: Returns 0 and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
4 ($_FF_ERROR_InvalidValue)
8 ($_FF_ERROR_NoMatch)

 

Remarks

The result is no object it is only a string to use with the other _FFObj* functions and _FFClick.

 

Related

_FFObj, _FFObjNew, _FFObjDelete, _FFClick

 

Example

#Include <FF.au3>

_FFConnect()

If _FFIsConnected() Then

	_FFOpenURL("google.com")

	$sInput = _FFObjGet("q", "name") ; returns a string - no object!
	_FFObj($sInput, "value", "autoit")

	MsgBox(64, "You searching: ", _FFObj($sInput, "value"))
EndIf