Duplicates a tab
#Include <FF.au3>
_FFTabDuplicate([$vTab = -1[, $sMode = "index"[, $bSelect = False]]])
Parameters
| $vTab | (Optional) Index (0-n) or label (RegExp) -1 = (Default) = Current tab. |
||||||
| $sMode |
|
||||||
| $bSelect | (Optional) Activates the duplicated tab. false = (Default) |
||||||
Return Value
| Success: | Returns number of the tabs >= 1 |
| Failure: | Returns 0 and sets @ERROR |
| @ERROR: |
0 ($_FF_ERROR_Success) 3 ($_FF_ERROR_InvalidDataType) 4 ($_FF_ERROR_InvalidValue) 8 ($_FF_ERROR_NoMatch) |
Remarks
Related
_FFTabAdd, _FFTabClose, _FFTabCloseAll, _FFTabExists, _FFTabSetSelected, _FFTabGetSelected
Example
#Include <FF.au3> If _FFConnect() Then _FFTabAdd("www.google.de") Sleep(3000) _FFTabDuplicate() EndIf