All Tabs Go Home
Posted: 07 Feb 2012 17:53
This script sends all tabs home, options to choose either pane or both panes.
Code: Select all
//All Tabs Go Home
"Left/Top pane"
focus P1;
sub "_gohome";
"Right/Bottom pane"
focus P2;
sub "_gohome";
"Both panes"
sub "_gohome";
focus PI;
sub "_gohome";
focus PI;
"_gohome"
$curtab=tab();
$tabcount= tab("get","c");
$count=1;
WHILE($tabcount>=$count){
seltab $count;
#348;
$count++;
}
seltab $curtab;
status "All tabs Homed!";