Ließt einen Wert aus der Config aus
#Include <FF.au3>
_FFPrefGet($sName)
Parameters
$sName | Name des Eintrags. |
Return Value
Success: | Returns Value |
Failure: | Returns 0 and sets @ERROR |
@ERROR: |
0 ($_FF_ERROR_Success) 4 ($_FF_ERROR_InvalidValue) 8 ($_FF_ERROR_NoMatch) |
Remarks
Links
https://developer.mozilla.org/en/nsIPrefBranch
Related
_FFPrefSet, _FFPrefReset
Example
#Include <FF.au3> _FFConnect() If _FFIsConnected() Then ; changing HTTP-proxy port: _FFPrefSet("network.proxy.http", "localhost") _FFPrefReset("network.proxy.http") ; disabling image loading _FFPrefSet("permissions.default.image", 2) MsgBox(64, "Old value:", @extended) MsgBox(64, "Current value:", _FFPrefGet("permissions.default.image")) ; reset to old value _FFPrefReset("permissions.default.image") ; reading prefs MsgBox(64, "Reseted value:", _FFPrefGet("permissions.default.image")) EndIf