So I have a script that runs through multiple .max-files, and I would like the files processed not to appear in the recent file list. My thought was that I could make a copy of the RecentDocuments.xml, then when the script is finished I would revert RecentDocuments.xml and reload it. The problem is that I can’t figure out how to reload the xml file. I thought maybe there was a function for this, does anyone know?
-- This doesn't work
xmlPath = getdir #maxData + "RecentDocuments.xml"
dotnet.loadAssembly "system.xml"
xmlDoc=dotNetObject "system.xml.xmlDocument"
xmlDoc.load xmlPath
The alternative would be to somehow prevent 3dsmax from updating recent files, I tried to use theHold to do this, but it didn’t seem to work with fileopen actions.
I would like to work with max files within the script without the files appearing in the recent files history. Does anyone have any ideas on how to do this?

I was way off track, I was sure that if there was a flag for this it would have to be on load, not sure if I ever would have checked for flags on save.

