Function Reference

_FFFormRadioButton

Selects a RadioButton in a form

#Include <FF.au3>
_FFFormRadioButton($vRadioButton[, $iRadioButtonIndex = 0[, $sRadioButtonMode = "index"[, $vForm = 0[, $sFormMode = "index"]]]])

 

Parameters

$vRadioButton Name, ID or value of the radio-button.
$iRadioButtonIndex Optional: Index of the radio-button (0-n)
0 = (Default)
$sRadioButtonMode
Optional: Mode of the radio-button selection:
index= (Default) Index (0-n) of the radio-button.
name= Name of the radio-button.
id= ID of the radio-button.
value= Value of the radio-button.
$vForm Optional: Index (0-n), name or ID of the form.
0 = (Default)
$sFormMode
Optional: Mode of the form selection.:
index= (Default) Index (0-n) of the form.
name= Name of the form.
id= ID of the form.

 

Return Value

Success: Returns 1
Failure: Returns 0 and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
2 ($_FF_ERROR_SocketError)
4 ($_FF_ERROR_InvalidValue)

 

Remarks

For all parameters can also used the keyword Default.

 

Related

_FFFormCheckBox, _FFFormOptionSelect, _FFFormReset, _FFFormSubmit

 

Example

#Include <FF.au3>

_FFStart("http://ff-au3-example.thorsten-willert.de/")

If _FFIsConnected() Then
	_FFFormRadioButton(1, 0, "index")
	Sleep(3000)
	_FFFormRadioButton("size", 2, "name", "Pizza", "name")
EndIf