Wählt einen Frame aus, auf den alle nachfolgenden Befehle wirken.
#Include <FF.au3>
_FFFrameEnter($vFrame[, $sMode = "index"])
Parameters
$vFrame | Name, ID oder Index (0-n) des Frames. | ||||||||
$sMode |
|
Return Value
Success: | Returns 1 und setzt @extended auf den index des Frames. |
Failure: | Returns 0 und setzt @ERROR |
@ERROR: |
0 ($_FF_ERROR_Success) 3 ($_FF_ERROR_InvalidDataType) 4 ($_FF_ERROR_InvalidValue) 8 ($_FF_ERROR_NoMatch) |
Remarks
Related
_FFFrameLeave
Example
#Include <FF.au3> If _FFConnect() Then If _FFOpenURL("http://www.autoit.de") Then _FFFrameEnter(2) MsgBox(0,"Frame 2 URL", _FFCmd(".location.href") ) _FFFrameLeave() MsgBox(0,"Top URL",_FFCmd(".location.href") ) EndIf EndIf