Function Reference

_FFDisConnect

Trennt die Verbindung mit FireFox / MozRepl

#Include <FF.au3>
_FFDisConnect()

 

Return Value

Success: Returns 1 / $_FF_GLOBAL_SOCKET = -1
Failure: Returns 0 and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
1 ($_FF_ERROR_GeneralError)
2 ($_FF_ERROR_SocketError)

 

Remarks

 

Links

http://msdn.microsoft.com/en-us/library/ms740668(VS.85).aspx

 

Related

_FFConnect, _FFIsConnected, _FFStart

 

Example

#Include <FF.au3>

; trying to connect to a running FireFox with MozRepl on
If _FFConnect(Default,Default,3000) Then
	; open a page
	_FFOpenURL("http://ff-au3-example.thorsten-willert.de/")
	Sleep(3000)
	; disconnect from FireFox
	If _FFDisConnect() Then MsgBox(64,"","Disconnected from FireFox!")
Else
	MsgBox(64,"","Can't connect to FireFox!")
EndIf