Searches a string
#Include <FF.au3>
_FFSearch($sSearchString[, $bCaseSensitive = False[, $bBackwards = False[, $bWrapAround = True[, $bWholeWord = False[, $bSearchInFrames = True]]]]])
Parameters
| $sSearchString | The text to search. |
| $bCaseSensitive | Optional: Case sensitive false = (Default) |
| $bBackwards | Optional: Backward search false = (Default) |
| $bWrapAround | Optional: Wrap around true = (Default) |
| $bWholeWord | Optional: Whole word false = (Default) |
| $bSearchInFrames | Optional: In frames true = (Default) |
Return Value
| Success: | Returns 1 |
| Failure: | Returns 0 and sets @ERROR |
| @ERROR: |
0 ($_FF_ERROR_Success) 4 ($_FF_ERROR_InvalidValue) 8 ($_FF_ERROR_NoMatch) |
Remarks
Related
_FFAction
Example
#Include <FF.au3> _FFStart("http://ff-au3-example.thorsten-willert.de/") If _FFIsConnected() Then $sStringToSearch = "Informationen" If _FFSearch($sStringToSearch) Then MsgBox(0,"Found:", $sStringToSearch) Else MsgBox(0,"Can't find:", $sStringToSearch) EndIf Sleep(3000) _FFWindowClose() Else MsgBox(0,"Error:", "Can't connect to FireFox!") EndIf