getCurrentTabgetCurrentTab(Ver2.14対応版)
目次Index−
スクリプトScript−
グローバルのメソッドGlobal method−
getCurrentTab
getCurrentTab( num? )
現在アクティブなタブの番号を取得します。(V1.03)
Gets the number of the currently active tab. (V 1.03)
- パラメータ1(数値型、省略可能)
-
分割されている場合、どの分割かを指定します。左/上の分割を0として数えます。
-1を指定すると、現在フォーカスのある分割のアクティブなタブの番号を返します。
-2を指定すると、フォーカスのあるタブの、左/上の分割から数えた全ての分割の通し番号を返します。
省略すると-2と同じです。
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.
- 返り値(数値型)
-
タブ番号です。
タブの番号は0から数えます。
Tab number.
If split, num specifies which split. Count left / top split from 0.