Function Reference

_FFAction

Some standard actions to work with FireFox

#Include <FF.au3>
_FFAction($sAction[, $vOption = ""[, $vOption2 = ""[, $bLoadWait = True]]])

 

Parameters

$sAction One of the following actions
$sAction$vOption (Default: "")$vOption2 (Default: "")Description
Aboutabout protocol linksAbout page
BlankLeere page
CopyDelimiter (Default = "|")Copies the selected text (also Multiselect in several frames)
AlertTextBrowser Message
BackBack
ForwardForward
FullscreenTrue / FalseFullscreen
HideAllTrue / FalseHide all the menus and bars
HomeHome
Maximize / Max Maximize window
Minimize / MinMinimize window
PresentationMode / PMTrue / FalseFullScreen + HideAll
PrintPrint dialog
Reload
Flag: (the flags are combined with a |)Beschreibung:
LOAD_FLAGS_NONENormal reload (Default)
LOAD_FLAGS_BYPASS_CACHEReload, even if the page already in the cache is
LOAD_FLAGS_BYPASS_PROXYReload and ignore proxies
LOAD_FLAGS_CHARSET_CHANGEReload if the character set was changed
Reload mit oder ohne Flags Reload with or without flags
ResetConsoleReset for MozRepl
RestoreRestore window
Search / FindSearch dialog
ScrollXYPixel X (int)Pixel Y (int)Scroll-n pixels in XY-direction
ZoomFactor (int) (Default = 1)Zoom
StopStop
chromeShortcutXUL Address

 

Return Value

Success: Return of MozRepl
Failure: Returns "" and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
4 ($_FF_ERROR_InvalidValue)

 

Remarks


 

Links

http://developer.mozilla.org/en/docs/XUL:tabbrowser
http://developer.mozilla.org/en/docs/XUL:Method:reloadWithFlags
https://developer.mozilla.org/En/DOM/Window.scrollBy
http://kb.mozillazine.org/About_Protocol_Links

 

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