Page 1 of 2

Recently opened files

Posted: 25 Aug 2026 11:20
by ryskaale
Would it be possible to have a button to list files recently opened from XYplorer? (similar to recently accessed folders)

Re: Recently opened files

Posted: 25 Aug 2026 14:37
by admin
Tools | List Management | Recently Opened Files...

The number of the command is #632. You can add a user button to the toolbar pointing to #632; on left-click.

Re: Recently opened files

Posted: 25 Aug 2026 14:51
by ryskaale
Thank you!
This is not, however, solving my "problem" :kidding:
If i click on recent folders button (sorry, i use Czech language interface, thus it may have slightly different name in English), it offers me a drop-down list where clicking on one of the items opens the folder again.
If i click on the button I now created, as you suggested, it opens a list, but it is "just information", but not an interactive list, where i could reopen the file.

Sorry, i am not sure if i am clearly explaining my point.... :-(

Re: Recently opened files

Posted: 25 Aug 2026 19:25
by admin
Okay, try menu File | Open... The files you are looking for are in the dropdown list.

Re: Recently opened files

Posted: 26 Aug 2026 01:43
by RalphM
First time I opened that menu and noticed that the list doesn't scroll by mouse wheel.

Re: Recently opened files

Posted: 26 Aug 2026 07:58
by admin
Yeah, that's another tB issue. And it's Win10+ only.

2026-08-30: Nope, it was a not a tB issue.

Re: Recently opened files

Posted: 26 Aug 2026 20:40
by ryskaale
Thank you.
This is what I was looking for. However, it is 3 clicks (file - open - click on dropdown menu). It would be a "nice-to-have" feature, if this list could be opened by a dedicated button on the bar. Exactly like you have made it with "last locations" (folders).
Before I switched to XYplorer, I used for quite a while QTTabBar. I have tweaked it almost to perfection and it made my life much easier. I had to find an alternative solution as it stopped working after one of the recent W11 updates. The "last files" was one of the features which I found there particularly helpful.
As this is "Wishes" category, this feature would be my wish :-)

Re: Recently opened files

Posted: 27 Aug 2026 21:18
by admin
Check out this script:

Code: Select all

open inputselect("Open any of the Recently Opened Files", get("list_recentlyopenedfiles"), <crlf>, 5);
You can run it through the address bar, or make toolbar button to call it. Still not what you want, but a little closer. And with a filter box! :)

Re: Recently opened files

Posted: 31 Aug 2026 00:01
by admin
RalphM wrote: 26 Aug 2026 01:43 First time I opened that menu and noticed that the list doesn't scroll by mouse wheel.
Fixed in v28.30.2101.

Re: Recently opened files

Posted: 07 Sep 2026 08:41
by kiwichick
admin wrote: 27 Aug 2026 21:18 Check out this script:

Code: Select all

open inputselect("Open any of the Recently Opened Files", get("list_recentlyopenedfiles"), <crlf>, 5);
This is great, Don, but is there any particular reason that the actual Recently Opened Files dialog window doesn't allow opening the files? Also, it would be great if there was a button, or keyboard modifier for the current Clear button, to remove files that no longer exist rather than clearing the whole list.

Re: Recently opened files

Posted: 07 Sep 2026 09:40
by admin
List Management is not made for action. See it as a safety feature: in List Management you work on a list, not on your system.

That modification of the Clear button is an idea. Later...

Re: Recently opened files

Posted: 07 Sep 2026 12:48
by Horst
admin wrote: 27 Aug 2026 21:18 Check out this script:

Code: Select all

open inputselect("Open any of the Recently Opened Files", get("list_recentlyopenedfiles"), <crlf>, 5);
You can run it through the address bar, or make toolbar button to call it. Still not what you want, but a little closer. And with a filter box! :)
Works but misses the logic to remove files from the list which are no longer exists.
Currently, this gives a script error.
Also, Tools / List Management /Recently Opened files doesn't contain a function to remove such entries.

Re: Recently opened files

Posted: 07 Sep 2026 13:28
by admin
What script error?

Re: Recently opened files

Posted: 07 Sep 2026 13:41
by Horst
admin wrote: 07 Sep 2026 13:28What script error?
Not an error in the script language but this one
XYplorer_1hjezfMUDk.png

Re: Recently opened files

Posted: 09 Sep 2026 15:34
by admin
Ah, that currently depends on the file type (some throw a script error, some throw other errors), which is a somewhat chaotic situation. I will change SC open to check before opening a file and throw an error right away if you try.