Function Reference

_FFWindowSelect

Selects the active window for all other functions

#Include <FF.au3>
_FFWindowSelect([$sSearch = ""[, $sSearchMode = "title"[, $bActivate = True]]])

 

Parameters

$sSearch Title, current URL (substring) or any tab-Label (RegExp)
"" = (Default) last opened window.
$sSearchMode
Optional: Selection mode:
title= (Default) Current window title.
href= Current window URL.
label= Any tab label of the window.

 

Return Value

Success: Returns 1 and sets @EXTENDED = window handle (hwnd)
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/DOM/Window
https://developer.mozilla.org/En/NsIWindowMediator

 

Related

_FFWindowOpen, _FFWindowClose, _FFWindowGetHandle

 

Example