XYplorer is not pointing to the file when clicked in 'show in folder'

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
ABC005
Posts: 3
Joined: 24 Jun 2024 20:36

XYplorer is not pointing to the file when clicked in 'show in folder'

Post by ABC005 »

In Windows explorer when the open file location/open path/show in folder is clicked from the browser downloads, it opens the folder containing the file while pointing to the file i.e. it selects the file when it is opened. But XYplorer is not showing this behavior. Kindly help

Norn
Posts: 504
Joined: 24 Oct 2021 16:10

Re: XYplorer is not pointing to the file when clicked in 'show in folder'

Post by Norn »

Currently this can only be done with AutoHotkey or something like that, and there will be an Explorer window flashing...
Windows 11 24H2 @100% 2560x1440

ABC005
Posts: 3
Joined: 24 Jun 2024 20:36

Re: XYplorer is not pointing to the file when clicked in 'show in folder'

Post by ABC005 »

Norn wrote: 24 Jun 2024 23:47 Currently this can only be done with AutoHotkey or something like that, and there will be an Explorer window flashing...
I have never used autohotkey before. Is there any guide on how to do it?

Norn
Posts: 504
Joined: 24 Oct 2021 16:10

Re: XYplorer is not pointing to the file when clicked in 'show in folder'

Post by Norn »

1) Download and install AutoHotkey v2
https://www.autohotkey.com/

2) Download the script and run the ahk file. When the Explorer window opens, it will automatically redirect to XYplorer.
(If you want to redirect automatically when XY is not running, you need to modify the XY path in the ini file.)
[AutoHotkey v2] Redirect Explorer Windows
Windows 11 24H2 @100% 2560x1440

ABC005
Posts: 3
Joined: 24 Jun 2024 20:36

Re: XYplorer is not pointing to the file when clicked in 'show in folder'

Post by ABC005 »

Norn wrote: 26 Jun 2024 00:46 1) Download and install AutoHotkey v2
https://www.autohotkey.com/

2) Download the script and run the ahk file. When the Explorer window opens, it will automatically redirect to XYplorer.
(If you want to redirect automatically when XY is not running, you need to modify the XY path in the ini file.)
[AutoHotkey v2] Redirect Explorer Windows
Thanks you very much sir!! I wonder how DIrectory Opus achieves it.

Norn
Posts: 504
Joined: 24 Oct 2021 16:10

Re: XYplorer is not pointing to the file when clicked in 'show in folder'

Post by Norn »

Seems to be using dll hooks or something, I remember needing a reboot.
I added the EVENT_OBJECT_SHOW event and it seems to make the window almost invisible.
Windows 11 24H2 @100% 2560x1440

Post Reply