All go home

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

All go home

Post 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.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: All go home

Post 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?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: All go home

Post 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.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: All go home

Post by nas8e9 »

@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

Post 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...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: All go home

Post 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.

admin
Site Admin
Posts: 66365
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: All go home

Post by admin »

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

Post 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.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: All go home

Post by serendipity »

admin wrote:OK, I'll convert it to a status bar message.
Thanks Don! works great now.

Post Reply