Вернуть текст страницы
#Include <FF.au3>
_FFReadText([$iFilter = 0])
Параметры
$iFilter |
|
Возвращаемое значение
Успешное выполнение: | Returns string |
Ошибка: | Пустая строка и установка @ERROR |
@ERROR: |
0 ($_FF_ERROR_Success) 1 ($_FF_ERROR_GeneralError) |
Связана с функциями
_FFReadHTML, _FFXPath
Пример
#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