Author Topic: Lisp to delete AutoCAD Recent folder contents  (Read 16862 times)

0 Members and 1 Guest are viewing this topic.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Lisp to delete AutoCAD Recent folder contents
« Reply #15 on: January 02, 2011, 10:48:22 PM »
The folder content looks like the attached piccy, and has no MRU list.

The MRU list is maintained in the registry, just as you pointed out in your first post
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Lisp to delete AutoCAD Recent folder contents
« Reply #16 on: January 02, 2011, 11:02:28 PM »
It is now, but Alans post sems to indicate it was kept in a folder.


I'd be interested in knowing if that list matches the MRU list on the menu->File pulldown
.. I can't recall because of a selective memory.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Lisp to delete AutoCAD Recent folder contents
« Reply #17 on: January 03, 2011, 12:26:59 AM »
I'll take a look tomorrow. Too late here.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Lisp to delete AutoCAD Recent folder contents
« Reply #18 on: January 03, 2011, 08:59:34 AM »
This folder has most of the files listed in the MRU pull down menu but not all and some that are not listed:
C:\Documents and Settings\Alan\Application Data\Autodesk\AutoCAD 2006\R16.2\enu\Recent\Select File

The registry has the exact list.
When I run Kerry's routine the registry is cleared but the MRU in the file pull down remains un affected.
Shutting ACAD down & re start the registry list is restored with the list.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Lisp to delete AutoCAD Recent folder contents
« Reply #19 on: January 03, 2011, 12:28:20 PM »
The registry has the exact list.
When I run Kerry's routine the registry is cleared but the MRU in the file pull down remains un affected.
Shutting ACAD down & re start the registry list is restored with the list.

The MRU list in the registry is read when AutoCAD opens only. Once the menu is populated the registry isn't used again until AutoCAD closes, at which point, the MRU list is updated in the registry. This would mean that AutoCAD maintains the MRU list in the registry while it isn't running, but in the application while it is, only updating upon closing.

If you open multiple instances of AutoCAD and open different drawings in each, the MRU in each instance will be slightly different. Then as you close AutoCAD instances, the registry MRU is updated. The MRU in the last instance of AutoCAD to close will be the MRU that is displayed when AutoCAD is started again.

Some earlier versions of AutoCAD allowed multiple instances, I don't know if you can make the later ones open separate application windows.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie