About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
rollout rout_tutor "Another
rollout rout_tutor "Another Rollout"
(
label lbl0 "This is a panel"
label lbl1 "For testing"
fn getFile = (
local maxINI
local T1
maxINI = getmaxinifile()
T1 = getINISetting maxINI "FileList" "File2"
mergeMaxFile T1 #select #prompt
)
button btnRecent "Recent File" width:125 tooltip:"I open the last open recent file"
on btnRecent pressed do
(
getFile()
)
)
Thank Lutteral will find out
Thank Lutteral will find out soon enough :)
In previous versions, at
In previous versions, at least until max2009, the list of recent max files was saved in the 3dsmax.ini file. You should use getmaxinifile() to find it, and getinisettings() to read the values.
In max 2011 (maybe 2010 too, I did not check), the list of recent documents are saved in a file named RecentDocuments.xml located in the same folder than the 3dsMax.ini. Check on how to parse xml in maxscript help to extract the data.
M