Function Reference

_FFReadText

Returns the text of a page.

#Include <FF.au3>
_FFReadText([$iFilter = 0])

 

Parameters

$iFilter
Optional: Filter (additive)
0= (Default) disabled
1= Non ASCII chars
2= Double whitespaces
4= Double linefeeds
8= HTML tags
16= Simple HTML tags / Entities converter

 

Return Value

Success: Returns string
Failure: Returns "" and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
1 ($_FF_ERROR_GeneralError)

 

Remarks



 

Related

_FFReadHTML, _FFXPath

 

Example

#Include <FF.au3>

If _FFStart("http://ff-au3-example.thorsten-willert.de/") Then
	$sText = _FFReadText()
	If Not @error Then MsgBox(64,"Text:",StringLeft($sText,300))

	; compressed text
	$sText = _FFReadText(7)
	If Not @error Then MsgBox(64,"Compressed text:",$sText)
EndIf