diference between .ms and .mcr scripts

Hi guys, how´s going?
does anyone know the diference between .ms and .mcr script files? it seems to me that to make a shortcut (keyboard, toolbar or quad), the script must be a .mcr file, is that right? i think that because when i create a shortcut from a .ms file it always missed when i open max after closing it.
thanks in advance,

Jsrocha

Comments

Comment viewing options

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

If your script starts

If your script starts with

 macroscript myMacro
category:"my category"
tooltip:"tooltip text" buttonText:"button text" 

then there is no difference what is the file type - ms or mcr. When you drag and drop(Maxscript - Run script) the max will create macros in the usermacros directory and you wull find the script in the Customize-Cistomize_user Interface-"my category".

Open the maxscript help file and search for
MacroScripts for New Users
You will read about the mcr and ms files.

Comment viewing options

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