But this will sometimes flicker with an intermediate tab, right? Better would be an option to "Activate previous tab on closing..."serendipity wrote:Nice, this option is more useful for me than the F7 option.admin wrote:F7 won't help if the last two locations were on the same tab. I re-added the command to jump to the last tab. Must be enough for now.
Update: Even nicer because now I can mimic "close-tab-&-go-to-previously-used-tab". I assigned ctrl+w to this UDC:Code: Select all
//Close tab #351; //Go to previous tab #1060;
History for every tab
-
admin
- Site Admin
- Posts: 65185
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: History for every tab
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: History for every tab
For direct use, such options (as a kind of default) are always useful.
But for inside a script an operand like
TabClose "gotoprev"
would be optimum? With operands like first, last, left, right, 3.
Maybe numeric ones (beside "prev") could be enough, with:
1=first, 5=5th or last, (999=last,) -1=left, +3=3right?
And by the way: I hate cmds like #4711
But for inside a script an operand like
TabClose "gotoprev"
would be optimum? With operands like first, last, left, right, 3.
Maybe numeric ones (beside "prev") could be enough, with:
1=first, 5=5th or last, (999=last,) -1=left, +3=3right?
And by the way: I hate cmds like #4711
Re: History for every tab
I like your idea! Sadly the script doesn't work on my system. :( It only closes the tab, then either selects the left or right tab depending on the value of "Tabs -> Activate Left tab on closing current". Any hints?Update: Even nicer because now I can mimic "close-tab-&-go-to-previously-used-tab". I assigned ctrl+w to this UDC:Code: Select all
//Close tab #351; //Go to previous tab #1060;
Thanks!
-
admin
- Site Admin
- Posts: 65185
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: History for every tab
Indeed this does not work, and looking at the code I wonder why/if it ever did.a1l0s2k9 wrote:I like your idea! Sadly the script doesn't work on my system.Update: Even nicer because now I can mimic "close-tab-&-go-to-previously-used-tab". I assigned ctrl+w to this UDC:Code: Select all
//Close tab #351; //Go to previous tab #1060;It only closes the tab, then either selects the left or right tab depending on the value of "Tabs -> Activate Left tab on closing current". Any hints?
Well, it should work in the next version, like this:
Code: Select all
* Configuration | Tabs: Now with "Activate left tab on closing
current" AND "Cycle tabs in recently used order" both enabled, the
*previously used tab* is auto-selected on closing the current tab.FAQ | XY News RSS | XY X
XYplorer Beta Club