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.
All go home
-
nas8e9
- Posts: 2232
- Joined: 21 Jun 2008 14:50
Re: All go home
Even without using tabsets myself ATM, I'd like this for my regular tabs. +1!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.
Edited to add: Ctrl+Alt+Home seems to be free by default, as well?
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: All go home
OK for those interested, I use this script for sending all tabs home:
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.
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;
@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.
-
nas8e9
- Posts: 2232
- Joined: 21 Jun 2008 14:50
Re: All go home
@serendipity: Thank you for the script!
-
admin
- Site Admin
- Posts: 66365
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: All go home
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...
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: All go home
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.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...
-
admin
- Site Admin
- Posts: 66365
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: All go home
Ah, thank you so much. I'll post the script in the script exchange section when that change is made.admin wrote:OK, I'll convert it to a status bar message.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: All go home
Thanks Don! works great now.admin wrote:OK, I'll convert it to a status bar message.
XYplorer Beta Club