PDA

View Full Version : Save As File Path and File Name


ColMatrix
04-22-2010, 09:45 AM
Hello Everyone,

I have had a look at the forums and the help documentation and I am unable to achieve what I desire.


Objective

When the user selects 'Save As' (or save if file previosuly unsaved) max uses a path and filename (and file type, this case .max) from a predefined custom variable.


Current Attemps

I have tried:



callbacks.addScript #filepresave "test.max"
getSaveFilename filename: (file_path+file_name)


Notes

#2 I found is very close to what I need, except if I use this with the '#filepresave' 2 dialog boxes will open which is not desirable.

Please note I am not after replacing the current 'save/save as' dialog box, all I wish to do is have the file open at a predefined directory and a filename (which will contain the .max extension) inside the 'filename' field. I also do not wish to have a seperate 'save/save as' UI.

Any suggestions is greatly appreciated.

Thank you

Alan

CGTalk Moderation
04-22-2010, 09:45 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.