I can get a tab ID for any given index, but the reverse does not seem to apply.
Code: Select all
::echo tab('get', 'id', $tab_index); //returns the ID for any given $index
::echo tab('get',, 4:=$tab_id); // always returns _current tab_'s index
Code: Select all
::echo tab('get', 'id', $tab_index); //returns the ID for any given $index
::echo tab('get',, 4:=$tab_id); // always returns _current tab_'s index
Code: Select all
data:
[empty or missing]: returns the index of the current tab (first tab = 1)
Code: Select all
+ SC tab enhanced: The operation "get" got a new data parameter "index":
text tab("get", "index", [index], [ID]); //return index
Code: Select all
+ SC tab enhanced: New parameter "pane" enables tab operations on both panes.
Syntax: text tab([operation], [data], [index], [ID], [pane])
pane: the affected pane.
a active [default]
i inactive
1 1st pane
2 2nd pane
Example:
tab("new", "C:\",,, 2); //new foreground tab at "C:\" on the inactive pane
tab("relocate", "<xydata>",,, "i"); //go to <xydata> on the current tab of the inactive pane
Nonetheless, +5I would touch this only with 4 weeks of free debugging time ahead
Code: Select all
$header
<space 3>
<space 3>$title<space 5>$content<space 7>$sep
$footer