Command Line: switch to existing tab if path matches
Posted: 2016-03-05, 23:40 UTC
I often open favorite folders with Autohotkey shortcuts (e.g. Win+1 to open Documents, Win+2 to open Downloads etc), and I also use them to switch to my file explorer (instead of alt-tabbing or using bottom bar, because then I'd still need to open the proper tab there, which is less convenient).
Now, I've set up TC as default in Windows 10, so whenever I try to open a folder, it intercepts and opens a new tab with this folder (I have `/T` switch on).
Here is the deal — my previous explorer substitution (QTTab) was able to understand that the passed folder path is already open and would just open the existing tab instead of opening an identical tab.
However, TC doesn't do that — it always opens a new tab even when I already have several of the same folders open. Is it possible to change this behavior and check whether passed path is already open and don't multiply same tabs?
Also, would it be possible to have an option to force new tabs to be opened in currently ACTIVE pane? (I know there are options to specify left or right regardless of what pane you're currently working in)
Thank you!
Now, I've set up TC as default in Windows 10, so whenever I try to open a folder, it intercepts and opens a new tab with this folder (I have `/T` switch on).
Here is the deal — my previous explorer substitution (QTTab) was able to understand that the passed folder path is already open and would just open the existing tab instead of opening an identical tab.
However, TC doesn't do that — it always opens a new tab even when I already have several of the same folders open. Is it possible to change this behavior and check whether passed path is already open and don't multiply same tabs?
Also, would it be possible to have an option to force new tabs to be opened in currently ACTIVE pane? (I know there are options to specify left or right regardless of what pane you're currently working in)
Thank you!