ScriptSpot

Forum topic · General Scripting

save funtion for maxscript ?

By alexnguyen · 2015-05-23

Description

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

Comments (2)

a maxscript save function

alexnguyen · 2015-05-25

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 · 2015-05-24

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.