[Closed] Save As File Path and File Name
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:
[ol]
[li]callbacks.addScript #filepresave “test.max”
[/li][li]getSaveFilename filename: (file_path+file_name)
[/li][/ol]
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