Notifications
Clear all

[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

9 Replies

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!!!"
	
)
1 Reply
(@hj-panorama)
Joined: 11 months ago

Posts: 0

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!

it has reminded me ЕГГОГ ;)

Google translate tell me that

еггог == ошибка ?

Almost the same meaning?

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

that’s an ancient story. most of old school Russian programmers try avoid the using of the word ERROR in their code.

probably Bobo can think what i’m talking about.

Because the latin small “r” looks like the cyrillic small “г” ?

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

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]