Author Topic: Number of Recently Used Files  (Read 1654 times)

0 Members and 1 Guest are viewing this topic.

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Number of Recently Used Files
« on: March 11, 2013, 04:42:20 AM »
In the "Options" dialog box, on  the "Open and Save" tab, in the "File Open" group, and in the "Menu Browser" group are exists the "Number of Recently Used Files" parameter. I need to change their values through .NET. I didn't find their variable names in the help file. I think it do not through variables, but through registry directly.

I looked the changed variable names through the SystemVariableChanged event. But I got such of changed variable names:
VISRETAIN
XEDIT
PLIMMIN
PLIMMAX


But it not that is necessary for me. I didn't find the necessary registry parameter. How can I do it?

Regards, Andrey.
« Last Edit: March 11, 2013, 04:48:45 AM by Andrey »

Alexander Rivilis

  • Bull Frog
  • Posts: 214
  • Programmer from Kyiv (Ukraine)
Re: Number of Recently Used Files
« Reply #1 on: March 11, 2013, 05:11:53 AM »
P/Invoke acedSetEnv for "MRUFilesToList" and "MRUFilesToAppMenu"
How to P/Invoke acedSetEnv.
« Last Edit: March 11, 2013, 05:19:19 AM by Alexander Rivilis »

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Number of Recently Used Files
« Reply #2 on: March 11, 2013, 05:34:45 AM »
P/Invoke acedSetEnv for "MRUFilesToList" and "MRUFilesToAppMenu"
How to P/Invoke acedSetEnv.
Thank you. For AutoCAD 2009 it is the MRUFilesToList, and MRUFilesToMenuBrowser variables.