Hey everyone!
I would like to place a custom button on my toolbar that whenever I click on it a script that opens the "Recently Opened Files" is executed.
The Recently Opened Files is in Tools -> List Management -> Recently Opened Files
Any help will be greatly appreciated! Thanks!!
Script to run "Recently Opened Files"
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Script to run "Recently Opened Files"
#632;One of my scripts helped you out? Please donate via Paypal
-
dejhantulip
- Posts: 2
- Joined: 15 Jul 2022 17:47
Re: Script to run "Recently Opened Files"
Awesome!! Thank you so much!!
May I ask, how did you know it was that code?
How do I find other codes, just so I learn and not ask something that might be otherwise easy to find
May I ask, how did you know it was that code?
How do I find other codes, just so I learn and not ask something that might be otherwise easy to find
-
phred
- Posts: 707
- Joined: 26 Dec 2021 02:10
- Location: XY 64bit on Win10 at 100% from Boston USA
Re: Script to run "Recently Opened Files"
Help > List all commandsdejhantulip wrote: ↑15 Jul 2022 23:04 May I ask, how did you know it was that code?
How do I find other codes, just so I learn and not ask something that might be otherwise easy to find![]()
There's also an option (I believe in the Config dialog) where all the command numbers are visible after each item when clicking on an item in the menu bar. Unfortunately I can't find the option right now.

-
RalphM
- Posts: 2145
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Script to run "Recently Opened Files"
The option is right above the highlighted one in the help menu "Command ID's on menu".
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
phred
- Posts: 707
- Joined: 26 Dec 2021 02:10
- Location: XY 64bit on Win10 at 100% from Boston USA
XYplorer Beta Club