tab("new") command line - changing existing tab in running instance
Posted: 27 Feb 2018 14:14
Hi there -
I just tried launching a fresh install of XYplorer using the command-line parameters:
/script="::tab('new');"
If XYplorer is closed when the command is issued, XYplorer does what I expect: XYplorer runs, shows all tabs open at last close, and opens a new tab. So, for example: if when I last closed XYplorer, I had these tabs open in a pane:
C:\folder1
D:\folder2
G:\folder3 (focused)
I now have these tabs open:
C:\folder1
D:\folder2
G:\folder3
G:\folder3 (focused)
That's good. But then, once XYplorer is open, if I issue the command-line command with /script="::tab('new');" again, I get this:
C:\folder1
D:\folder2
G:\folder3
This PC
This PC (focused)
I don't mind that XYplorer opens the new tab to This PC, and of course I could change that. But I was surprised that XYplorer also navigates the previously-focused tab (in this case, it was on G:\folder3) to This PC also.
When I open XYplorer via command line without using /script="::tab('new');", even if I issue the command repeatedly while XYplorer is running, it doesn't change any of the tabs to This PC. So to me, it doesn't make sense that using /script="::tab('new');" does change an existing tab (in addition to the new tab) to This PC.
Is this intended, or a bug? What am I missing?
I just tried launching a fresh install of XYplorer using the command-line parameters:
/script="::tab('new');"
If XYplorer is closed when the command is issued, XYplorer does what I expect: XYplorer runs, shows all tabs open at last close, and opens a new tab. So, for example: if when I last closed XYplorer, I had these tabs open in a pane:
C:\folder1
D:\folder2
G:\folder3 (focused)
I now have these tabs open:
C:\folder1
D:\folder2
G:\folder3
G:\folder3 (focused)
That's good. But then, once XYplorer is open, if I issue the command-line command with /script="::tab('new');" again, I get this:
C:\folder1
D:\folder2
G:\folder3
This PC
This PC (focused)
I don't mind that XYplorer opens the new tab to This PC, and of course I could change that. But I was surprised that XYplorer also navigates the previously-focused tab (in this case, it was on G:\folder3) to This PC also.
When I open XYplorer via command line without using /script="::tab('new');", even if I issue the command repeatedly while XYplorer is running, it doesn't change any of the tabs to This PC. So to me, it doesn't make sense that using /script="::tab('new');" does change an existing tab (in addition to the new tab) to This PC.
Is this intended, or a bug? What am I missing?