Creates a new object in FireFox.
#Include <FF.au3>
_FFObjNew($sNewObject, $sObject)
Parameters
$sNewObject | Creates a new object in the object FFau3 |
Return Value
Success: | Returns 1 |
Failure: | Returns 0 and sets @ERROR |
@ERROR: | 0 ($_FF_ERROR_Success) |
Remarks
Related
_FFObjGet, _FFObj, _FFObjDelete
Example
#Include <FF.au3> _FFConnect() If _FFIsConnected() Then _FFOpenURL("google.com") If _FFObjNew("google", "window.content.document") Then MsgBox(64, "Cookie", _FFObj("google","cookie")) ; OR MsgBox(64, "Domain", _FFObj("google.domain")) _FFObjDelete("google") EndIf EndIf Exit