Page 1 of 1
All go home
Posted: 30 Jan 2012 20:25
by serendipity
I am using tabsets a lot with autosave enabled on some of them. Very often I am having to go home on most tabs to navigate back to original place. Can their be an option to send all my tabs go home in one click?
If nobody else thinks this is important I will probably make a script for myself.
Re: All go home
Posted: 30 Jan 2012 20:34
by nas8e9
serendipity wrote:I am using tabsets a lot with autosave enabled on some of them. Very often I am having to go home on most tabs to navigate back to original place. Can their be an option to send all my tabs go home in one click?
If nobody else thinks this is important I will probably make a script for myself.
Even without using tabsets myself ATM, I'd like this for my regular tabs. +1!
Edited to add: Ctrl+Alt+Home seems to be free by default, as well?
Re: All go home
Posted: 02 Feb 2012 23:00
by serendipity
OK for those interested, I use this script for sending all tabs home:
Code: Select all
//Send all tabs home and return to original tab
$curtab=tab();
$tabcount= tab("get","c");
$count=1;
WHILE($tabcount>=$count){
seltab $count;
#348;
$count++;
}
seltab $curtab;
One downside is: XY throws an error if a tab is homeless, so you have get around hitting space to OK.
@Don: is there a way to suppress this error?
Alternatively, if you know which tabs are homed and you don't move around tabs, then one can easily send only those tabs home without the error problem.
Re: All go home
Posted: 03 Feb 2012 00:27
by nas8e9
@serendipity: Thank you for the script!
Re: All go home
Posted: 03 Feb 2012 09:14
by admin
I have no time to look into it now. Currently sending non-active tabs home is not supported and there is a reason for this. Maybe later...
Re: All go home
Posted: 03 Feb 2012 16:55
by serendipity
admin wrote:I have no time to look into it now. Currently sending non-active tabs home is not supported and there is a reason for this. Maybe later...
Not a problem on my side, I was asking about that error thing for the generic script i posted before. I have specific homed tabs sitting in the same place all the time. With a specific script its easy to home them without any errors.
Re: All go home
Posted: 03 Feb 2012 17:42
by admin
OK, I'll convert it to a status bar message.
Re: All go home
Posted: 03 Feb 2012 18:36
by serendipity
admin wrote:OK, I'll convert it to a status bar message.
Ah, thank you so much. I'll post the script in the script exchange section when that change is made.
Re: All go home
Posted: 07 Feb 2012 17:56
by serendipity
admin wrote:OK, I'll convert it to a status bar message.
Thanks Don! works great now.