save funtion for maxscript ?

hello , i am a newbie in maxscript , i try to save my maxscript , is there a save funtion for maxscript ?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexnguyen's picture

a maxscript save function

i can save a max file with saveMaxFile() function , now i have ms file , is there have a ms save function (not use file menu) ?

i found a code , but it saves another code , it can not save itself

Formatfile=@"D:\temp\Format.ms"
Outfile = createfile Formatfile
format "%" ("Box()") to:Outfile
close Outfile

fajar's picture

there is...open maxscript

there is...open maxscript editor , paste your script there n save it as .ms file....you'll learn theres mcr file too. theres a little different to it, but save it for later.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.