getCurrentTab(Ver2.14対応版)
IndexScriptGlobal method− getCurrentTab

getCurrentTab( num? )
Gets the number of the currently active tab. (V 1.03)
パラメータ1(数値型、省略可能)
If you specify -1, it returns the index number of tab of the split currently in focus.
If you specify -2, it returns the index number of tab that totaled all splits.
If omitted, it is the same as -2.

返り値(数値型)
Tab number.
If split, num specifies which split. Count left / top split from 0.