Script to run "Recently Opened Files"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
dejhantulip
Posts: 2
Joined: 15 Jul 2022 17:47

Script to run "Recently Opened Files"

Post by dejhantulip »

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!!

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Script to run "Recently Opened Files"

Post by highend »

#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"

Post by dejhantulip »

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 :)

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"

Post by phred »

dejhantulip 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 :)
Help > List all commands

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.

Image Image

RalphM
Posts: 2145
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Script to run "Recently Opened Files"

Post by RalphM »

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%)

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"

Post by phred »

RalphM wrote: ↑16 Jul 2022 09:56 The option is right above the highlighted one in the help menu "Command ID's on menu".
Sheesh! I was looking right at it and didn't see it. Thanks RalphM.

Post Reply