[Closed] old … adding .mse to toolbar
hello
sorry this is simple but I’m new to max…
how I can add .mse script to a button or toolbar in Max 2013??
thank you in advance
If the name of the mse file is: myMSEscript.mse
then you have to put this script in a folder(for example in userscripts folder) and to make a macro script to load the mse file. Save the macro and load in Max, then go to the MyCategory and place the script as a button.
macroscript macro_myMSEscript
category:"MyCategory"
tooltip:"the script name"
buttonText:"TSN"
(
if doesFileExist (pathConfig.GetDir #userscripts+"\\myMSEscript.mse") then
fileIn (pathConfig.GetDir #userscripts+"\\myMSEscript.mse")
else
messagebox "Can't locate the script" title:"ERROR!!!"
)
thank you
in fact I’m trying to know how to make a macro first
then I want to figure out if # userscripts should be a full path … or defined what!
that’s an ancient story. most of old school Russian programmers try avoid the using of the word ERROR in their code.
that’s the case but not the issue Bulgaria made some computer devices for USSR long ago. and some of them print ErrOr as ЕГГОГ
Search maxscript help file for:
[b]Defining Macro Scripts
Denis, the “talented” people are everywhere.
[/b]