Notifications
Clear all

[Closed] Save Version Up and Rest

Hey

i want to create 2 buttons .
one the saves a new version every time and another one that dose the same but also resets the scene .

thanks
D

1 Reply
(
	--	"search the net for proper code of how to increment the file name"
	newFileName = (getFileNameFile maxFileName) + "_" + (timestamp() as string) + ".max"
	saveMaxFile (maxFilePath + newFileName) clearNeedSaveFlag:true useNewFile:true quiet:true
	--	"uncomment to reset the scene"
-- 	resetMaxFile #noPrompt
)