Notifications
Clear all
[Closed] Access history categories?
Oct 26, 2013 3:43 pm
Is there any way I can access the list of paths from maxscript’s default “MAXScriptFileOpenSave” history category, or maybe even a custom category?
My goal is to get the last path and use it as initialDir for getSavePath.
3 Replies
Oct 26, 2013 3:43 pm
Yes, and for those not familiar with ini’s, it’s easy to get the values too:
maxini = getMAXIniFile()
lastpath = getINISetting maxini "MAXScriptFileOpenSave" "History_00"
You can also use hasINISetting to test the section and key, but I found that getINISetting returns an empty string if they don’t exist.