Page 1 of 1

Script to run "Recently Opened Files"

Posted: 15 Jul 2022 17:50
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!!

Re: Script to run "Recently Opened Files"

Posted: 15 Jul 2022 17:55
by highend
#632;

Re: Script to run "Recently Opened Files"

Posted: 15 Jul 2022 23:04
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 :)

Re: Script to run "Recently Opened Files"

Posted: 16 Jul 2022 00:03
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

Re: Script to run "Recently Opened Files"

Posted: 16 Jul 2022 09:56
by RalphM
The option is right above the highlighted one in the help menu "Command ID's on menu".

Re: Script to run "Recently Opened Files"

Posted: 16 Jul 2022 14:19
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.