Reuse tab via script made more accessible

Features wanted...
Post Reply
jupe
Posts: 2749
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Reuse tab via script made more accessible

Post by jupe »

Now it is pretty easy to script up something to look through the open tabs and if a tab exists switch to it if it doesn't then open a new tab (and even easier if overwriting curtab), but I think it is a fairly commonly wanted thing to do and since you recently made the GUI version of reusing a tab more radical, I think a matching scripting version would be useful, I am imagining something like this:

Code: Select all

 tab("reuse", <xypath>); // IF TAB EXISTS (IN CURRENT PANE) SWITCH TO IT ELSE OPEN IN NEWTAB
Low prio, just a suggestion, not a wish.

Post Reply