Variable or command Number of recently used

Variable or command Number of recently used

carlos_m_gil_p
Advocate Advocate
1,009 Views
8 Replies
Message 1 of 9

Variable or command Number of recently used

carlos_m_gil_p
Advocate
Advocate

Hello boys how are you.
Could someone tell me with which variable or command I can modify the Number of recently-used files in Application Menu.
Thank you.

 

Anotación 2020-05-20 100232.png


AutoCAD 2026
Visual Studio Code 1.99.3
AutoCAD AutoLISP Extension 1.6.3
Windows 10 (64 bits)

0 Likes
1,010 Views
8 Replies
Replies (8)
Message 2 of 9

john.uhden
Mentor
Mentor

Looks like you got it.  I think 9 is the maximum.

John F. Uhden

0 Likes
Message 3 of 9

carlos_m_gil_p
Advocate
Advocate

Hi @john.uhden the maximum is 50.
What I want is a variable or command to modify it from LISP


AutoCAD 2026
Visual Studio Code 1.99.3
AutoCAD AutoLISP Extension 1.6.3
Windows 10 (64 bits)

0 Likes
Message 4 of 9

CodeDing
Advisor
Advisor

@carlos_m_gil_p ,

 

I have been trying to find a variable to control this for the last ~30 minutes.

I can not find anything that relates or will adjust it.

I can tell you that the variable you are NOT looking for is the "MRUFilesToList" Environment Variable (it changes the option above the one you have highlighted).

 

Best of luck searching.

Best,

~DD

0 Likes
Message 5 of 9

dlanorh
Advisor
Advisor

I don't think you can modify it from lisp. The recent Files list is stored in the registry, and despite this number, there will eventually be fifty files (the max) stored in the registry. If you want a list of these files see THIS

I am not one of the robots you're looking for

0 Likes
Message 6 of 9

carlos_m_gil_p
Advocate
Advocate

Hi @CodeDing 

Yes, I already tried that variable and it didn't work.


AutoCAD 2026
Visual Studio Code 1.99.3
AutoCAD AutoLISP Extension 1.6.3
Windows 10 (64 bits)

0 Likes
Message 7 of 9

carlos_m_gil_p
Advocate
Advocate

Hi @dlanorh 

I don't want a list of these files.
I just want to modify the amount that is going to show.
Put a specific value between 1 and 50.


AutoCAD 2026
Visual Studio Code 1.99.3
AutoCAD AutoLISP Extension 1.6.3
Windows 10 (64 bits)

0 Likes
Message 8 of 9

dlanorh
Advisor
Advisor

As I mentioned in my previous post, I don't think this is possible using lisp. You can access the number via preferences-opensave-mrunumber property, but this is listed as read only.

 

It's not stored in the registry, and it's not saved as a system variable. It may be possible using arx or .NET, but not lisp.

I am not one of the robots you're looking for

0 Likes
Message 9 of 9

carlos_m_gil_p
Advocate
Advocate

Perfect, thanks for the information.


AutoCAD 2026
Visual Studio Code 1.99.3
AutoCAD AutoLISP Extension 1.6.3
Windows 10 (64 bits)

0 Likes