Page 1 of 1
Open in New Window
Posted: 19 Feb 2022 22:18
by brettcode
I apologize if this is a duplicate, but I couldn't find it.
In XYplorer, you can 'Open in New Tab' and 'Open in Other Pane' which is great for laptops.
However, there is no 'Open in New Window' like there is in Windows File Explorer. This is more useful on desktops where I am "deep" into a folder tree and just want to start a new window and have the screen space.
Re: Open in New Window
Posted: 19 Feb 2022 22:32
by highend
You could just use a button, user command (together with a keyboard shortcut if necessary), a catalog entry with a script?
Opens the current selected entry (a path) in the list pane in a new window:
Code: Select all
if (exists(<curitem>) == 2) {
run """<xy>"" /new ""<curitem>""";
}
Re: Open in New Window
Posted: 19 Feb 2022 22:42
by brettcode
highend wrote: ↑19 Feb 2022 22:32
You could just use a button, user command (together with a keyboard shortcut if necessary), a catalog entry with a script?
Thanks for the idea, but I'm thinking more of convenience. I'm right there and don't want to mouse far to run a button. I right-click a lot and spend a lot of time in file management.
Re: Open in New Window
Posted: 22 Feb 2022 14:29
by admin
'Open in New Window' in File Explorer just opens a fresh Explorer. In XYplorer, however, you probably want to open a new instance with your current configuration. But that's only possible if the configuration of the current instance is saved to disk. But that's something you might not want, or do you? And should the new instance be read-only or should it write to the same settings as the mother instance, thus generating a possible conflict? You see, things are quickly getting complicated. Scripting is a good solution here.
Re: Open in New Window
Posted: 22 Feb 2022 15:16
by klownboy
If you don't want to travel your mouse any further than necessary, you could use highend's script in a CEA where you could right click, middle click or double click in white space dirctly adjacent to the folder or you can even use middle click directly on the folder name.
Re: Open in New Window
Posted: 23 Feb 2022 03:43
by brettcode
admin wrote: ↑22 Feb 2022 14:29
'Open in New Window' in File Explorer just opens a fresh Explorer. In XYplorer, however, you probably want to open a new instance with your current configuration. But that's only possible if the configuration of the current instance is saved to disk. But that's something you might not want, or do you? And should the new instance be read-only or should it write to the same settings as the mother instance, thus generating a possible conflict? You see, things are quickly getting complicated. Scripting is a good solution here.
I am 100% OK with opening a new instance with the last saved settings which is what I do now, except that I have to re-navigate to the same spot. I don't save config automatically. I always use separate/new instances. I don't even share history.
On desktop, I typically run 2 or even 3 instances of XYplorer. I realize not everyone works this way, but, if I have the screen space, I do. This not sharing history, etc., though, follows the way File Explorer works. Just a completely new instance.
Re: Open in New Window
Posted: 23 Feb 2022 08:44
by RalphM
If you don't care about saving the settings you could easily just open "Throw Away Clones" of your current instance. See File Menu.
Re: Open in New Window
Posted: 23 Feb 2022 08:47
by admin
Contrary to File Explorer, XY has tabs. That's probably why nobody ever asked for "Open in New Window", until you came along.

Anyway, I'll consider it.
Re: Open in New Window
Posted: 23 Feb 2022 08:48
by admin
RalphM wrote: ↑23 Feb 2022 08:44
If you don't care about saving the settings you could easily just open "Throw Away Clones" of your current instance. See File Menu.

Re: Open in New Window
Posted: 23 Feb 2022 23:17
by brettcode
RalphM wrote: ↑23 Feb 2022 08:44
If you don't care about saving the settings you could easily just open "Throw Away Clones" of your current instance. See File Menu.
This is an interesting option and surely faster than launching a new instance and re-navigating! I assigned a keyboard shortcut to help.
admin wrote: ↑23 Feb 2022 08:47
Contrary to File Explorer, XY has tabs. That's probably why nobody ever asked for "Open in New Window", until you came along.

Anyway, I'll consider it.
Thanks! People's screens keep getting bigger.

I like the tabs or panes on a laptop, but on a 4K screen (TV), I prefer multiple instances.