Save to same location + subfolder and another small question
This is my first post here. I am just getting started with Maxscript and trying a number of smaller scripts to slowly ease my way in, but give a good idea on script structure etc. So far going well, but hit a bit of a stumbling block.
Say I am working in a folder with parental status (top folder). I want to same to this location + a named folder. I would like the name to be the current maxfile name + "_xyz holder".
Below is where i got stuck. This only looks to save to the same location. I would like to save to maxFilePath\\subfolder\\currentMaxfilename + b + .max
example =(currentMaxfilename + b + .max) actual name = maxfile_xyz holder.max
This is where I have got quite stuck.
b = "_xyz holder"
currentName = getFilenameFile()
sceneName = maxFilePath + currentName + b + (extension (.max))
On a separate note is it possible to prompt the user to save a maxfile on the start of a script. Another idea I'm playing with needs to ask the user if they would like to save there current maxfile before the script carries out another function on the current file, more of a peace of mind buffer. Struggling to find any info on it?
Many thanks for the help!