Page 1 of 1
XYplorer should auto-select item in folder when opened from somewhere else
Posted: 20 Feb 2017 15:03
by Keith94
For example, when XYplorer is the default file manager, right-click a desktop shortcut to a file and choose "Open file location". XYplorer opens the folder with the file, but that specific file is not automatically selected. Please add an option to select the file automatically (Windows Explorer does this by default, and it greatly improves my workflow).
Re: XYplorer should auto-select item in folder when opened from somewhere else
Posted: 20 Feb 2017 15:25
by admin
Not possible unfortunately: Windows passes only the path in the command line, not the file.
Explorer.exe seems to get special treatment. Dunno how this works.
Re: XYplorer should auto-select item in folder when opened from somewhere else
Posted: 20 Feb 2017 15:38
by Keith94
I see, that's a shame. But thanks for the reply.
Re: XYplorer should auto-select item in folder when opened from somewhere else
Posted: 27 Jul 2022 21:00
by houaiss
Hello
Just to make sure, this is still not possible, right?
Re: XYplorer should auto-select item in folder when opened from somewhere else
Posted: 28 Jul 2022 08:23
by admin
Right. In the meantime I know what it takes to make it work. It's ridiculously involved. Currently I don't feel like it.
Re: XYplorer should auto-select item in folder when opened from somewhere else
Posted: 28 Jul 2022 09:51
by Horst
No problem here
Even when XY is not the default file manager (which is Total Commander in my case)
the following registry entry shows an "Open in XYplorer" for files or dirs and opens file entries selected in XY.
The pathes have to be adjusted of course.
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open in XYplorer]
[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open in XYplorer\command]
@="C:\\Tools\\XYplorer\\XYplorer.exe \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\Open in XYplorer]
[HKEY_CLASSES_ROOT\Directory\shell\Open in XYplorer\command]
@="C:\\Tools\\XYplorer\\XYplorer.exe \"%1\""
Re: XYplorer should auto-select item in folder when opened from somewhere else
Posted: 28 Jul 2022 10:03
by admin
That's not meant here. It's about "Show in folder", e.g. from browsers, e.g. from Edge:
Re: XYplorer should auto-select item in folder when opened from somewhere else
Posted: 28 Jul 2022 12:49
by Evolve
I remember this subject was discussed here:
How to make XYplorer the file manager for Open Path or Open Folder in other apps?
---------------------
The current solution is this glorious script by @autocart
[AHK] redirecting Windows Explorer to XY
The only downside - it goes through Explorer showing its window.
Having this feature natively would be some next level.