History for every tab

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

Re: History for every tab

Post by admin »

serendipity wrote:
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.
Nice, this option is more useful for me than the F7 option.

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;
But this will sometimes flicker with an intermediate tab, right? Better would be an option to "Activate previous tab on closing..."

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: History for every tab

Post by PeterH »

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 :evil:

a1l0s2k9
Posts: 47
Joined: 31 Dec 2008 00:09

Re: History for every tab

Post by a1l0s2k9 »

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

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

Post by admin »

a1l0s2k9 wrote:
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;
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?
Indeed this does not work, and looking at the code I wonder why/if it ever did. :?

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.

Post Reply