Startet FireFox
#Include <FF.au3>
_FFStart([$sURL = "about:blank"[, $sProfile = "default"[, $iMode = 1[, $bHide = False[, $IP = "127.0.0.1"[, $iPort = 4242]]]]]])
Parameters
$sURL | Optional: Mit angegebener Adresse starten "about:blank" = (Default) |
||||||||||
$sProfile | Optional: FireFox Profil "default" = (Default) |
||||||||||
$iMode |
|
||||||||||
$bHide | Optional: Versteckten Prozess starten false = (Default) true = Versteckt starten |
||||||||||
$IP | Optional: IP des Rechners auf dem FireFox läuft. "127.0.0.1" = (Default) localhost |
||||||||||
$iPort | Optional: Port Nummer von MozRepl. 4242 = (Default) |
Return Value
Success: | Returns 1 / $_FF_GLOBAL_SOCKET = Socket |
Failure: | Returns 0 / $_FF_GLOBAL_SOCKET = -1 / and sets @ERROR |
@ERROR: | 0 ($_FF_ERROR_Success) 1 ($_FF_ERROR_GeneralError) 3 ($_FF_ERROR_InvalidDataType) 6 ($_FF_ERROR_Timeout) |
Remarks
Bei allen Parametern kann auch das SchlüsselwortDefault
angegeben werden._FFLoadWait
ist nach diesem Befehl nicht notwendig, da hier gewartet wird, bis
die Seite vollständig geladen ist.
Related
_FFQuit, _FFConnect, _FFDisConnect, _FFIsConnected
Example
#Include <FF.au3> _FFStart("http://ff-au3-example.thorsten-willert.de/") If _FFIsConnected() Then Sleep(2000) _FFAction("presentationmode",true) Sleep(2000) _FFOpenURL("http://www.google.com") Sleep(2000) _FFAction("back") _FFAction("presentationmode",false) Sleep(2000) _FFOpenURL("chrome:bookmarks") Sleep(2000) _FFAction("alert","Bye bye ...") _FFQuit() EndIf